mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 12:58:06 +00:00
* Set the cpu defaults for the ARM32 architectures:
- armel: arm9e. Closes: #1056115. - armhf: cortex-a7.
This commit is contained in:
parent
34ed134da1
commit
907baf024b
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -19,6 +19,9 @@ llvm-toolchain-snapshot (1:18~++20230921012857+4cf8da94198d-1~exp1) UNRELEASED;
|
||||
* Restore the patch for D148945, searching /usr/lib/llvm-18/lib by default.
|
||||
Addresses: #1056580.
|
||||
* Also use the free swap to determine the number of parallel processes.
|
||||
* Set the cpu defaults for the ARM32 architectures:
|
||||
- armel: arm9e. Closes: #1056115.
|
||||
- armhf: cortex-a7.
|
||||
|
||||
[ John Paul Adrian Glaubitz ]
|
||||
* Don't install *clang_rt* on sparc and sparc64
|
||||
|
18
debian/patches/arm32-defaults.diff
vendored
Normal file
18
debian/patches/arm32-defaults.diff
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
--- a/llvm/lib/TargetParser/ARMTargetParser.cpp
|
||||
+++ b/llvm/lib/TargetParser/ARMTargetParser.cpp
|
||||
@@ -603,6 +603,15 @@ StringRef ARM::getARMCPUForArch(const ll
|
||||
if (MArch == "v7k")
|
||||
return "cortex-a7";
|
||||
break;
|
||||
+ case llvm::Triple::Linux:
|
||||
+ switch (Triple.getEnvironment()) {
|
||||
+ case llvm::Triple::GNUEABI:
|
||||
+ return "arm9e"; // armv5te
|
||||
+ case llvm::Triple::GNUEABIHF:
|
||||
+ return "cortex-a7"; // armv7-a
|
||||
+ default:
|
||||
+ return "armv5";
|
||||
+ }
|
||||
default:
|
||||
break;
|
||||
}
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -147,3 +147,4 @@ bolt-disable-emit-relocs.patch
|
||||
link-grpc.diff
|
||||
libclang-major-version-only.diff
|
||||
D148945-revert.diff
|
||||
arm32-defaults.diff
|
||||
|
Loading…
Reference in New Issue
Block a user