fix the version check

This commit is contained in:
Sylvestre Ledru 2021-10-18 17:53:32 +02:00 committed by Jordan Justen
parent 265a70d7d0
commit 34a7ac73ed
No known key found for this signature in database
GPG Key ID: 9A85A5A3468AE8E3

2
debian/rules vendored
View File

@ -217,7 +217,7 @@ endif
ifeq ($(shell command -v llvm-spirv),)
LLVM_SPIRV_INSTALLED = no
else
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv) ge 10.0.0 ; echo $$?),0)
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv) gt 10.0.0 ; echo $$?),0)
# Too old llvm-spirv version are failing. See #52200
LLVM_SPIRV_INSTALLED = yes
else