fix the libclc check

This commit is contained in:
Sylvestre Ledru 2022-08-31 10:48:43 +02:00
parent c50ef4d13a
commit 20b0700d71

4
debian/rules vendored
View File

@ -260,10 +260,10 @@ else
control_vars = '-Vdep:devlibs=libstdc++6-$(GCC_VERSION)-dev'
endif
ifeq ($(shell command -v llvm-spirv),)
ifeq ($(shell command -v llvm-spirv-14),)
LLVM_SPIRV_INSTALLED = no
else
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv) gt 14.0.0 ; echo $$?),0)
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv-14) gt 14.0.0 ; echo $$?),0)
# Too old llvm-spirv version are failing. See #52200
LLVM_SPIRV_INSTALLED = yes
else