New upstream release but disabled for now because of https://github.com/rui314/mold/issues/1224

This commit is contained in:
Sylvestre Ledru 2024-04-04 09:22:10 +02:00
parent f802896e03
commit afcf07feaa
2 changed files with 9 additions and 6 deletions

6
debian/changelog vendored
View File

@ -1,8 +1,10 @@
llvm-toolchain-18 (1:18.1.2-2) unstable; urgency=medium
llvm-toolchain-18 (1:18.1.3-1) unstable; urgency=medium
* New upstream release
* Only install mold when used
but disabled for now because of https://github.com/rui314/mold/issues/1224
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 22 Mar 2024 21:24:18 +0100
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 04 Apr 2024 07:57:13 +0200
llvm-toolchain-18 (1:18.1.2-1) unstable; urgency=medium

9
debian/rules vendored
View File

@ -307,10 +307,11 @@ MOLD_DISABLE_DISTRO := bionic buster focal buster bullseye bookworm
ifeq (,$(filter-out $(MOLD_DISABLE_DISTRO), $(DISTRO)))
# mold is too old on this distro
MOLD_ENABLE=no
else
MOLD_ENABLE=yes
STAGE_ALL_CMAKE_EXTRA += -DLLVM_USE_LINKER=mold
control_vars += ', mold'
#else
# disable mold until https://github.com/rui314/mold/issues/1224 is fixed
# MOLD_ENABLE=yes
# STAGE_ALL_CMAKE_EXTRA += -DLLVM_USE_LINKER=mold
# control_vars += ', mold'
endif
BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 ppc64 ppc64el x32 s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386