mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-14 06:28:55 +00:00
Change the LLVM_HOST_TRIPLE option from i386-linux-gnu to i386-pc-linux-gnu and arm-linux-gnueabihf to arm-pc-linux-gnueabihf Otherwise, it will fail with: Cannot find builtins library for the target architecture
This commit is contained in:
parent
090d6c3486
commit
033208480e
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,3 +1,13 @@
|
||||
llvm-toolchain-18 (1:18.1.8-2~exp2) experimental; urgency=medium
|
||||
|
||||
* Change the LLVM_HOST_TRIPLE option from i386-linux-gnu to
|
||||
i386-pc-linux-gnu
|
||||
and arm-linux-gnueabihf to arm-pc-linux-gnueabihf
|
||||
Otherwise, it will fail with:
|
||||
Cannot find builtins library for the target architecture
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 07 Jul 2024 00:38:27 +0200
|
||||
|
||||
llvm-toolchain-18 (1:18.1.8-2~exp1) experimental; urgency=medium
|
||||
|
||||
[ Sylvestre Ledru ]
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -197,7 +197,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH),armel))
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring $(DEB_HOST_ARCH),armhf))
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=arm-linux-gnueabihf
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=arm-pc-linux-gnueabihf
|
||||
# align arch profile with debian baseline
|
||||
# https://wiki.debian.org/ArmHardFloatPort#Minimum_CPU_.26_FPU
|
||||
CFLAGS_EXTRA += -march=armv7-a -mfpu=vfpv3-d16
|
||||
@ -206,8 +206,8 @@ endif
|
||||
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),i386))
|
||||
# Sometimes, i386 needs help with the triple
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=i386-linux-gnu
|
||||
CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=i386-linux-gnu
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=i386-pc-linux-gnu
|
||||
CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=i386-pc-linux-gnu
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),mips64el))
|
||||
|
Loading…
Reference in New Issue
Block a user