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 b6d28f8346
commit a4366d1be2

2
debian/rules vendored
View File

@ -259,7 +259,7 @@ endif
ifndef LLVM_SPIRV
LLVM_SPIRV_INSTALLED = no
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
LLVM_SPIRV_INSTALLED = yes
else