Try to unbreak powerpc & sparc64

This commit is contained in:
Sylvestre Ledru 2024-07-07 22:03:21 +02:00
parent 831c781696
commit 729d02753c
2 changed files with 7 additions and 4 deletions

5
debian/changelog vendored
View File

@ -7,7 +7,10 @@ llvm-toolchain-18 (1:18.1.8-2~exp3) UNRELEASED; urgency=medium
DEB_BUILD_OS_RELEASE_ID, DEB_SOURCE, DEB_VERSION and DEB_HOST_ARCH. DEB_BUILD_OS_RELEASE_ID, DEB_SOURCE, DEB_VERSION and DEB_HOST_ARCH.
Setting NO_PKG_METADATA=1 disables the generation of the package metadata. Setting NO_PKG_METADATA=1 disables the generation of the package metadata.
-- Matthias Klose <doko@debian.org> Sun, 07 Jul 2024 16:40:35 +0200 [ Sylvestre Ledru ]
* Try to unbreak powerpc & sparc64
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 07 Jul 2024 22:01:17 +0200
llvm-toolchain-18 (1:18.1.8-2~exp2) experimental; urgency=medium llvm-toolchain-18 (1:18.1.8-2~exp2) experimental; urgency=medium

6
debian/rules vendored
View File

@ -219,7 +219,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH),mips64el))
endif endif
ifneq (,$(filter $(DEB_HOST_ARCH),powerpc)) ifneq (,$(filter $(DEB_HOST_ARCH),powerpc))
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=powerpc-linux-gnu STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=powerpc-pc-linux-gnu
endif endif
# debug symbols OOM in Ubuntu Ubuntu and slows down build process. # debug symbols OOM in Ubuntu Ubuntu and slows down build process.
@ -230,12 +230,12 @@ else
endif endif
ifneq (,$(filter $(DEB_HOST_ARCH),sparc)) ifneq (,$(filter $(DEB_HOST_ARCH),sparc))
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=sparc-linux-gnu STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=sparc-pc-linux-gnu
STAGE_ALL_CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4 STAGE_ALL_CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4
endif endif
ifneq (,$(filter $(DEB_HOST_ARCH),sparc64)) ifneq (,$(filter $(DEB_HOST_ARCH),sparc64))
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=sparc64-linux-gnu STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=sparc64-pc-linux-gnu
STAGE_ALL_CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4 STAGE_ALL_CMAKE_EXTRA += -DLLVM_PARALLEL_LINK_JOBS=4
endif endif