mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 08:52:42 +00:00
Add patch to fix NEON issue
This commit is contained in:
parent
bfc6603937
commit
cfe8c1a4a4
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
llvm-toolchain-3.8 (1:3.8.1-14) UNRELEASED; urgency=medium
|
||||
|
||||
* d/p/no-neon-on-armhf.patch: avoid defaulting to NEON instructions
|
||||
for armhf (Closes: #842142).
|
||||
|
||||
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 04 Nov 2016 12:16:22 +0100
|
||||
|
||||
llvm-toolchain-3.8 (1:3.8.1-13) unstable; urgency=medium
|
||||
|
||||
* Fix a version issue with run-clang-tidy-3.8.py
|
||||
|
15
debian/patches/no-neon-on-armhf.patch
vendored
Normal file
15
debian/patches/no-neon-on-armhf.patch
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
Description: Patch suggested from upstream, to build without a default NEON for arm*
|
||||
|
||||
Bug-Debian: https://bugs.debian.org/842142
|
||||
|
||||
--- llvm-toolchain-3.8-3.8.1.orig/clang/lib/Driver/Tools.cpp
|
||||
+++ llvm-toolchain-3.8-3.8.1/clang/lib/Driver/Tools.cpp
|
||||
@@ -8437,7 +8437,7 @@ void gnutools::Assembler::ConstructJob(C
|
||||
const llvm::Triple &Triple2 = getToolChain().getTriple();
|
||||
switch (Triple2.getSubArch()) {
|
||||
case llvm::Triple::ARMSubArch_v7:
|
||||
- CmdArgs.push_back("-mfpu=neon");
|
||||
+ CmdArgs.push_back("-mfpu=vfp");
|
||||
break;
|
||||
case llvm::Triple::ARMSubArch_v8:
|
||||
CmdArgs.push_back("-mfpu=crypto-neon-fp-armv8");
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -51,3 +51,4 @@ lldb-arm64.diff
|
||||
clang-tidy-run-bin.diff
|
||||
|
||||
silent-llvm-symbolizer.diff
|
||||
no-neon-on-armhf.patch
|
||||
|
Loading…
Reference in New Issue
Block a user