summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2016-01-27 23:35:24 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2016-01-27 23:35:36 +0100
commite63ee31ad20bfd2d7e2159c63b62913bfd001353 (patch)
treee170bf2d969d24f8437c75021805c7a78f6ae0d2 /sys-devel/llvm/files
parentsys-fs/spl-0.6.5.4{,-r1}: Version Bump (diff)
downloadgentoo-e63ee31ad20bfd2d7e2159c63b62913bfd001353.tar.gz
gentoo-e63ee31ad20bfd2d7e2159c63b62913bfd001353.tar.bz2
gentoo-e63ee31ad20bfd2d7e2159c63b62913bfd001353.zip
sys-devel/llvm: add (masked) 3.8 release candidate for testing
Package-Manager: portage-2.2.27
Diffstat (limited to 'sys-devel/llvm/files')
-rw-r--r--sys-devel/llvm/files/cmake/llvm-3.8.0-compiler_rt_arm_march_flags.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-devel/llvm/files/cmake/llvm-3.8.0-compiler_rt_arm_march_flags.patch b/sys-devel/llvm/files/cmake/llvm-3.8.0-compiler_rt_arm_march_flags.patch
new file mode 100644
index 00000000000..d82236e85fe
--- /dev/null
+++ b/sys-devel/llvm/files/cmake/llvm-3.8.0-compiler_rt_arm_march_flags.patch
@@ -0,0 +1,17 @@
+diff -Naur llvm-3.8.0rc1.src.orig/projects/compiler-rt/cmake/config-ix.cmake llvm-3.8.0rc1.src/projects/compiler-rt/cmake/config-ix.cmake
+--- llvm-3.8.0rc1.src.orig/projects/compiler-rt/cmake/config-ix.cmake 2016-01-13 17:56:15.000000000 +0100
++++ llvm-3.8.0rc1.src/projects/compiler-rt/cmake/config-ix.cmake 2016-01-27 19:43:21.265315207 +0100
+@@ -219,13 +219,6 @@
+ elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "mips")
+ test_target_arch(mips "" "-mips32r2" "--target=mips-linux-gnu")
+ test_target_arch(mips64 "" "-mips64r2" "--target=mips64-linux-gnu" "-mabi=n64")
+- elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "arm")
+- test_target_arch(arm "" "-march=armv7-a" "-mfloat-abi=soft")
+- test_target_arch(armhf "" "-march=armv7-a" "-mfloat-abi=hard")
+- elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch32")
+- test_target_arch(aarch32 "" "-march=armv8-a")
+- elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch64")
+- test_target_arch(aarch64 "" "-march=armv8-a")
+ elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "wasm32")
+ test_target_arch(wasm32 "" "--target=wasm32-unknown-unknown")
+ elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "wasm64")