Limit maximum parallel link jobs to 4 on sparc and sparc64

This commit is contained in:
John Paul Adrian Glaubitz 2020-10-31 15:14:20 +01:00
parent c9f0e17814
commit bc883987a9
2 changed files with 11 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-11 (1:11.0.0-5) UNRELEASED; urgency=medium
[ John Paul Adrian Glaubitz ]
* Limit maximum parallel link jobs to 4 on sparc and sparc64
-- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Sat, 31 Oct 2020 15:13:44 +0100
llvm-toolchain-11 (1:11.0.0-4) unstable; urgency=medium llvm-toolchain-11 (1:11.0.0-4) unstable; urgency=medium
* Cherry-pick some fixes from * Cherry-pick some fixes from

4
debian/rules vendored
View File

@ -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" CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-latomic" -DCMAKE_SHARED_LINKER_FLAGS="-latomic"
endif 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)) ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel powerpc riscv64))
# For some reason, in the stage2 build, when clang is used to compile # 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. # itself. The atomic detection is failing on armel and riscv64. Forcing the inclusion everywhere.