Built compiler-rt for default target only on sparc and sparc64

This commit is contained in:
John Paul Adrian Glaubitz 2022-06-08 10:35:24 +02:00
parent cdc92042d1
commit 666503507b
2 changed files with 10 additions and 1 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ llvm-toolchain-snapshot (1:15~++20220509105605+460fc79a080b-1~exp4) UNRELEASED;
* Enable GRPC build dependency only on supported targets
* Disable compiler-rt built-ins on x32
* Limit parallel link jobs for all stages on sparc and sparc64
* Built compiler-rt for default target only on sparc and sparc64
[ Sylvestre Ledru ]
* Add usr/lib/llvm-15/lib/libomptarget.devicertl.a to libomp-X-dev

10
debian/rules vendored
View File

@ -187,7 +187,15 @@ ifneq (,$(filter $(DEB_HOST_ARCH),powerpc))
STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
endif
ifneq (,$(filter $(DEB_HOST_ARCH),sparc sparc64))
ifneq (,$(filter $(DEB_HOST_ARCH),sparc))
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=sparc-linux-gnu
STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
STAGE_ALL_CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4
endif
ifneq (,$(filter $(DEB_HOST_ARCH),sparc64))
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=sparc64-linux-gnu
STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
STAGE_ALL_CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4
endif