diff --git a/debian/changelog b/debian/changelog index b939dbc0..14b443c5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ llvm-toolchain-snapshot (1:12~++20201028113421+ebfc427bbe0-1~exp1) UNRELEASED; urgency=medium + [ Sylvestre Ledru ] * experimental New snapshot release * lld-use-link-atomic-i386.diff Try to workaround a linker error error: undefined reference to '__atomic_load' @@ -14,6 +15,9 @@ llvm-toolchain-snapshot (1:12~++20201028113421+ebfc427bbe0-1~exp1) UNRELEASED; u * experimental New snapshot release * experimental New snapshot release + [ John Paul Adrian Glaubitz ] + * Limit maximum parallel link jobs to 4 on sparc and sparc64 + -- Sylvestre Ledru Wed, 28 Oct 2020 23:37:38 +0100 llvm-toolchain-snapshot (1:12~++20201016112810+f16cecf3752-1~exp1) UNRELEASED; urgency=medium diff --git a/debian/rules b/debian/rules index 2cd9d20a..345dc82f 100755 --- a/debian/rules +++ b/debian/rules @@ -53,6 +53,10 @@ ifneq (,$(filter $(DEB_HOST_ARCH),i386 armel mips mipsel powerpc powerpcspe risc CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-latomic" -DCMAKE_SHARED_LINKER_FLAGS="-latomic" endif +ifneq (,$(filter $(DEB_HOST_ARCH),sparc sparc64)) +CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4 +endif + ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel powerpc riscv64)) # For some reason, in the stage2 build, when clang is used to compile # itself. The atomic detection is failing on armel and riscv64. Forcing the inclusion everywhere.