From 20b0700d71281157da18d143c2da3b0dd99463bf Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 31 Aug 2022 10:48:43 +0200 Subject: [PATCH] fix the libclc check --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 94aaab73..2ff4ce41 100755 --- a/debian/rules +++ b/debian/rules @@ -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