Disable libc on bionic for apt.llvm.org

This commit is contained in:
Sylvestre Ledru 2024-03-08 20:27:25 +01:00
parent 87a903d191
commit 841e1ce65b
2 changed files with 8 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,10 +1,14 @@
llvm-toolchain-18 (1:18.1.0-3) UNRELEASED; urgency=medium
[ Matthias Klose ]
* Fix sanitizer build on 32bit time_t64 architectures.
* Enable compiler-rt runtime again for 32bit time_t64 architectures.
* Revert: mark profile and xray include files as optional on armel and armhf.
-- Matthias Klose <doko@debian.org> Thu, 07 Mar 2024 17:02:04 +0100
[ Sylvestre Ledru ]
* Disable libc on bionic for apt.llvm.org
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 08 Mar 2024 20:27:05 +0100
llvm-toolchain-18 (1:18.1.0-2) unstable; urgency=medium

3
debian/rules vendored
View File

@ -309,11 +309,14 @@ ifneq (,$(filter bolt-$(LLVM_VERSION), $(packages)))
endif
LIBC_ENABLE=no
LIBC_DISABLE_DISTRO := bionic
ifneq (,$(filter libllvmlibc-$(LLVM_VERSION)-dev, $(packages)))
ifneq (,$(filter $(DISTRO),$(LIBC_DISABLE_DISTRO)))
BOOTSTRAP_CMAKE_EXTRA += -DBOOTSTRAP_LIBC_INCLUDE_DOCS=ON
RUNTIMES += ;libc
LIBC_ENABLE=yes
endif
endif
# flang is only for 64bits
ifneq (,$(filter flang-$(LLVM_VERSION), $(packages)))