mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-13 09:00:11 +00:00
Disable the build of libclc on old Ubuntu (Groovy & focal) as llvm-spir is too old on these version. See bug #52200
This commit is contained in:
parent
29308f4310
commit
265a70d7d0
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -1,6 +1,9 @@
|
||||
llvm-toolchain-13 (1:13.0.1-8) UNRELEASED; urgency=medium
|
||||
|
||||
* New changelog
|
||||
[ Sylvestre Ledru ]
|
||||
* Disable the build of libclc on old Ubuntu (Groovy & focal)
|
||||
as llvm-spir is too old on these version.
|
||||
See bug #52200
|
||||
|
||||
-- Jordan Justen <jljusten@debian.org> Wed, 26 Oct 2022 10:13:59 -0700
|
||||
|
||||
|
7
debian/rules
vendored
7
debian/rules
vendored
@ -217,7 +217,12 @@ endif
|
||||
ifeq ($(shell command -v llvm-spirv),)
|
||||
LLVM_SPIRV_INSTALLED = no
|
||||
else
|
||||
LLVM_SPIRV_INSTALLED = yes
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' llvm-spirv) ge 10.0.0 ; echo $$?),0)
|
||||
# Too old llvm-spirv version are failing. See #52200
|
||||
LLVM_SPIRV_INSTALLED = yes
|
||||
else
|
||||
LLVM_SPIRV_INSTALLED = no
|
||||
endif
|
||||
endif
|
||||
|
||||
LIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
|
||||
|
Loading…
Reference in New Issue
Block a user