mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 14:47:14 +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
7bd3d837c7
commit
1f06639f62
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,4 +1,4 @@
|
||||
llvm-toolchain-snapshot (1:14~++20211002060945+9452ec722ce0-1~exp1) experimental; urgency=medium
|
||||
llvm-toolchain-snapshot (1:14~++20211018020854+59a994e8daee-1~exp1) UNRELEASED; urgency=medium
|
||||
|
||||
* Remove the triple patch. it is causing the library search path to fail.
|
||||
Add a test in debian/qualify-clang.sh to verify we don't regress
|
||||
@ -12,8 +12,11 @@ llvm-toolchain-snapshot (1:14~++20211002060945+9452ec722ce0-1~exp1) experimental
|
||||
or ffi)
|
||||
'Could NOT find Z3:'
|
||||
* Add '-DCMAKE_FIND_DEBUG_MODE=true' to help wit debugging
|
||||
* Disable the build of libclc on old Ubuntu (Groovy & focal)
|
||||
as llvm-spir is too old on these version.
|
||||
See bug #52200
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 02 Oct 2021 18:15:52 +0200
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 18 Oct 2021 16:14:57 +0200
|
||||
|
||||
llvm-toolchain-snapshot (1:14~++20210926041028+6063e6b499c7-1~exp1) experimental; urgency=medium
|
||||
|
||||
|
7
debian/rules
vendored
7
debian/rules
vendored
@ -161,7 +161,12 @@ endif
|
||||
ifeq ($(shell which 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;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
|
||||
|
Loading…
Reference in New Issue
Block a user