From 4ad52e9ea9975def2cf8b54fce26ffd38f8fde05 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 31 Aug 2022 12:18:49 +0200 Subject: [PATCH] add a check for llvm spir --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index 2ff4ce41..44a90bb6 100755 --- a/debian/rules +++ b/debian/rules @@ -465,6 +465,11 @@ preconfigure: exit 1; \ fi + if test "$(DISTRO)" = "bookworm" -a "$(LLVM_SPIRV_INSTALLED)" = "no"; then \ + echo "llvm spriv isn't detected while it should probably for this distro"; \ + exit 1; \ + fi + @echo "DEB_HOST_MULTIARCH=$(DEB_HOST_MULTIARCH)" @echo "DEB_HOST_GNU_TYPE=$(DEB_HOST_GNU_TYPE)" @echo "DEB_HOST_ARCH_BITS=$(DEB_HOST_ARCH_BITS)"