mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 09:27:36 +00:00
On bionic & buster, for apt.llvm.org, pass -DLLVM_ENABLE_ZSTD=OFF as libzstd is too old
This commit is contained in:
parent
26dacf93c2
commit
27b9a9bc59
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
llvm-toolchain-16 (1:16.0.6-14) UNRELEASED; urgency=medium
|
||||
|
||||
* On bionic & buster, for apt.llvm.org, pass -DLLVM_ENABLE_ZSTD=OFF
|
||||
as libzstd is too old
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 08 Sep 2023 17:26:20 +0200
|
||||
|
||||
llvm-toolchain-16 (1:16.0.6-13) unstable; urgency=medium
|
||||
|
||||
[ Gianfranco Costamagna ]
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -423,6 +423,12 @@ ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux))
|
||||
STAGE_2_CMAKE_EXTRA += -DLLVM_USE_PERF=ON -DLLVM_ENABLE_LIBPFM=ON
|
||||
endif
|
||||
|
||||
LLVM_ENABLE_ZSTD_DISABLE_DISTRO := bionic buster
|
||||
# Disable zstd on old distro, fails on lld
|
||||
ifeq (,$(filter-out $(LLVM_ENABLE_ZSTD_DISABLE_DISTRO), $(DISTRO)))
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_ENABLE_ZSTD=OFF
|
||||
endif
|
||||
|
||||
LTO_ENABLE=no
|
||||
# Only enable it for archs supporting gold
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
||||
|
Loading…
Reference in New Issue
Block a user