Do not build spirv features on bookworm as the spirv compiler is too old: FAILED: spirv-mesa3d-.spv /build/source/libclc/build/spirv-mesa3d-.spv cd /build/source/libclc/build && /usr/bin/llvm-spirv-15 --spirv-max-version=1.1 -o spirv-mesa3d-.spv builtins.link.spirv-mesa3d-.bc Unknown attribute kind (86) (Producer: 'LLVM16.0.6' Reader: 'LLVM 15.0.6')

This commit is contained in:
Sylvestre Ledru 2023-11-11 09:58:34 +01:00
parent 8b7ecb4ecb
commit f666a0bd0f
2 changed files with 15 additions and 2 deletions

15
debian/changelog vendored
View File

@ -1,13 +1,26 @@
llvm-toolchain-16 (1:16.0.6-18) UNRELEASED; urgency=medium
[ Gianfranco Costamagna ]
* Upload to sid
[ Sylvestre Ledru ]
* Do not build spirv features on bookworm as the spirv compiler
is too old:
FAILED: spirv-mesa3d-.spv /build/source/libclc/build/spirv-mesa3d-.spv
cd /build/source/libclc/build && /usr/bin/llvm-spirv-15
--spirv-max-version=1.1 -o spirv-mesa3d-.spv builtins.link.spirv-mesa3d-.bc
Unknown attribute kind (86) (Producer: 'LLVM16.0.6' Reader: 'LLVM 15.0.6')
[ Steve Langasek ]
* Add noble as supported Ubuntu release
[ John Paul Adrian Glaubitz ]
* Don't run chrpath for libclang on sparc and sparc64
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 25 Oct 2023 08:10:35 +0200
[ Sylvestre Ledru ]
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 11 Nov 2023 09:57:35 +0100
llvm-toolchain-16 (1:16.0.6-17exp1) experimental; urgency=medium

2
debian/rules vendored
View File

@ -260,7 +260,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 15.0.0 ; echo $$?),0)
# Too old llvm-spirv version are failing. See #52200
LLVM_SPIRV_INSTALLED = yes
else