From b766a30adbc34daa685d51987d20218d42de5025 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 ef883cc0..3d185474 100755 --- a/debian/rules +++ b/debian/rules @@ -243,10 +243,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