mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-15 12:57:45 +00:00
* Set the cpu defaults for the ARM32 architectures:
- armel: arm9e. Closes: #1056115. - armhf: cortex-a7.
This commit is contained in:
parent
bb32f75327
commit
97633b6d51
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -7,6 +7,9 @@ llvm-toolchain-17 (1:17.0.6-2) UNRELEASED; urgency=medium
|
||||
|
||||
[ Matthias Klose ]
|
||||
* 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.
|
||||
|
||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 01 Dec 2023 10:50:00 +0100
|
||||
|
||||
|
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
|
||||
@@ -558,6 +558,15 @@
|
||||
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
@ -151,3 +151,4 @@ D158066-simd-ppc64el.patch
|
||||
ubuntu-releases.patch
|
||||
libclang-major-version-only.diff
|
||||
D148945-revert.diff
|
||||
arm32-defaults.diff
|
||||
|
Loading…
Reference in New Issue
Block a user