Make sure we use at least spirv 17, FTBFS otherwise

This commit is contained in:
Gianfranco Costamagna 2023-09-10 19:18:43 +02:00
parent 0372d41b13
commit 221deb828f

2
debian/rules vendored
View File

@ -259,7 +259,7 @@ endif
ifndef LLVM_SPIRV ifndef LLVM_SPIRV
LLVM_SPIRV_INSTALLED = no LLVM_SPIRV_INSTALLED = no
else else
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv-$(LLVM_SPIRV_VERSION)) gt 14.0.0 ; echo $$?),0) ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv-$(LLVM_SPIRV_VERSION)) gt 17.0.0 ; echo $$?),0)
# Too old llvm-spirv version are failing. See #52200 # Too old llvm-spirv version are failing. See #52200
LLVM_SPIRV_INSTALLED = yes LLVM_SPIRV_INSTALLED = yes
else else