Revert " * Set the cpu defaults for the ARM32 architectures:"

for causing this issue:
https://lore.kernel.org/lkml/20231204225148.GA2094126@dev-arch.thelio-3990X/T/

This reverts commit 97633b6d51.
This commit is contained in:
Sylvestre Ledru 2023-12-05 07:41:52 +01:00
parent 695fe3013f
commit 04b600fe3b
3 changed files with 10 additions and 19 deletions

10
debian/changelog vendored
View File

@ -1,5 +1,6 @@
llvm-toolchain-17 (1:17.0.6-2) UNRELEASED; urgency=medium llvm-toolchain-17 (1:17.0.6-2) UNRELEASED; urgency=medium
<<<<<<<
[ Gianfranco Costamagna ] [ Gianfranco Costamagna ]
* Add new cmake-clang-test to spot issues such as * Add new cmake-clang-test to spot issues such as
Debian bug #1057151 Debian bug #1057151
@ -11,6 +12,15 @@ llvm-toolchain-17 (1:17.0.6-2) UNRELEASED; urgency=medium
- armel: arm9e. Closes: #1056115. - armel: arm9e. Closes: #1056115.
- armhf: cortex-a7. - armhf: cortex-a7.
* libclang1-17: Hard-code the last full versions for the symlinks. * libclang1-17: Hard-code the last full versions for the symlinks.
=======
[ Gianfranco Costamagna ]
* Add new cmake-clang-test to spot issues such as
Debian bug #1057151
* Fix cmake file (Closes: #1057151)
[ Matthias Klose ]
* Also use the free swap to determine the number of parallel processes.
>>>>>>>
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 01 Dec 2023 10:50:00 +0100 -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 01 Dec 2023 10:50:00 +0100

View File

@ -1,18 +0,0 @@
--- 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;
}

View File

@ -151,4 +151,3 @@ D158066-simd-ppc64el.patch
ubuntu-releases.patch ubuntu-releases.patch
libclang-major-version-only.diff libclang-major-version-only.diff
D148945-revert.diff D148945-revert.diff
arm32-defaults.diff