diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-19 23:35:43 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2016-05-20 00:15:15 -0700 |
commit | 7364ca41b93841437667c84bb66c15fcb39763d9 (patch) | |
tree | 5f0f6ae79156109f66d817b53a14d7bbc252b5f5 /recipes-devtools/clang/compiler-rt | |
parent | ed0cc9804381763e6c0baebcb2a5793645531a83 (diff) | |
download | meta-clang-7364ca41b93841437667c84bb66c15fcb39763d9.tar.gz |
clang: Switch to master (3.9) branch
Drop upstreamed patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/compiler-rt')
-rw-r--r-- | recipes-devtools/clang/compiler-rt/0001-3.9-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch | 33 | ||||
-rw-r--r-- | recipes-devtools/clang/compiler-rt/0001-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch | 17 | ||||
-rw-r--r-- | recipes-devtools/clang/compiler-rt/0002-support-a-new-embedded-linux-target.patch (renamed from recipes-devtools/clang/compiler-rt/0001-support-a-new-embedded-linux-target.patch) | 8 | ||||
-rw-r--r-- | recipes-devtools/clang/compiler-rt/0003-Simplify-cross-compilation.-Don-t-use-native-compile.patch (renamed from recipes-devtools/clang/compiler-rt/0001-Simplify-cross-compilation.-Don-t-use-native-compile.patch) | 18 |
4 files changed, 21 insertions, 55 deletions
diff --git a/recipes-devtools/clang/compiler-rt/0001-3.9-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch b/recipes-devtools/clang/compiler-rt/0001-3.9-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch deleted file mode 100644 index 1d02c4c..0000000 --- a/recipes-devtools/clang/compiler-rt/0001-3.9-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From eeb6437d951a5316a5d743578ccb284db9d57caa Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 10 May 2016 10:37:55 -0700 | ||
4 | Subject: [PATCH] Remove fatal check for explicit | ||
5 | COMPILER_RT_DEFAULT_TARGET_ARCH | ||
6 | |||
7 | In OE, we do not deduce float-abi via target triplet | ||
8 | but via a CFLAGS option, and we do not have possibility | ||
9 | to build both hf and sf in same toolchain, therefore lets | ||
10 | ignore the test, we are doing the right job from recipe | ||
11 | |||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | cmake/Modules/CompilerRTUtils.cmake | 4 ---- | ||
15 | 1 file changed, 4 deletions(-) | ||
16 | |||
17 | diff --git a/cmake/Modules/CompilerRTUtils.cmake b/cmake/Modules/CompilerRTUtils.cmake | ||
18 | index b4a2b48..086d9ba 100644 | ||
19 | --- a/cmake/Modules/CompilerRTUtils.cmake | ||
20 | +++ b/cmake/Modules/CompilerRTUtils.cmake | ||
21 | @@ -125,9 +125,5 @@ macro(test_target_arch arch def) | ||
22 | endif() | ||
23 | if(${CAN_TARGET_${arch}}) | ||
24 | list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch}) | ||
25 | - elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "${arch}" AND | ||
26 | - COMPILER_RT_HAS_EXPLICIT_DEFAULT_TARGET_TRIPLE) | ||
27 | - # Bail out if we cannot target the architecture we plan to test. | ||
28 | - message(FATAL_ERROR "Cannot compile for ${arch}:\n${TARGET_${arch}_OUTPUT}") | ||
29 | endif() | ||
30 | endmacro() | ||
31 | -- | ||
32 | 2.8.2 | ||
33 | |||
diff --git a/recipes-devtools/clang/compiler-rt/0001-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch b/recipes-devtools/clang/compiler-rt/0001-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch index d741b55..1a7b96b 100644 --- a/recipes-devtools/clang/compiler-rt/0001-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch +++ b/recipes-devtools/clang/compiler-rt/0001-Remove-fatal-check-for-explicit-COMPILER_RT_DEFAULT_.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 14f4f8e55b363037ae881084e4594934a869cf5d Mon Sep 17 00:00:00 2001 | 1 | From b0de87ae88ff187820624d461fbb8fde84a90eb1 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 10 May 2016 10:37:55 -0700 | 3 | Date: Tue, 10 May 2016 10:37:55 -0700 |
4 | Subject: [PATCH] Remove fatal check for explicit | 4 | Subject: [PATCH 1/3] Remove fatal check for explicit |
5 | COMPILER_RT_DEFAULT_TARGET_ARCH | 5 | COMPILER_RT_DEFAULT_TARGET_ARCH |
6 | 6 | ||
7 | In OE, we do not deduce float-abi via target triplet | 7 | In OE, we do not deduce float-abi via target triplet |
@@ -11,14 +11,14 @@ ignore the test, we are doing the right job from recipe | |||
11 | 11 | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
13 | --- | 13 | --- |
14 | cmake/config-ix.cmake | 4 ---- | 14 | cmake/Modules/CompilerRTUtils.cmake | 4 ---- |
15 | 1 file changed, 4 deletions(-) | 15 | 1 file changed, 4 deletions(-) |
16 | 16 | ||
17 | diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake | 17 | diff --git a/cmake/Modules/CompilerRTUtils.cmake b/cmake/Modules/CompilerRTUtils.cmake |
18 | index 264085e..299682d 100644 | 18 | index b4a2b48..086d9ba 100644 |
19 | --- a/cmake/config-ix.cmake | 19 | --- a/cmake/Modules/CompilerRTUtils.cmake |
20 | +++ b/cmake/config-ix.cmake | 20 | +++ b/cmake/Modules/CompilerRTUtils.cmake |
21 | @@ -128,10 +128,6 @@ macro(test_target_arch arch def) | 21 | @@ -125,9 +125,5 @@ macro(test_target_arch arch def) |
22 | endif() | 22 | endif() |
23 | if(${CAN_TARGET_${arch}}) | 23 | if(${CAN_TARGET_${arch}}) |
24 | list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch}) | 24 | list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch}) |
@@ -28,7 +28,6 @@ index 264085e..299682d 100644 | |||
28 | - message(FATAL_ERROR "Cannot compile for ${arch}:\n${TARGET_${arch}_OUTPUT}") | 28 | - message(FATAL_ERROR "Cannot compile for ${arch}:\n${TARGET_${arch}_OUTPUT}") |
29 | endif() | 29 | endif() |
30 | endmacro() | 30 | endmacro() |
31 | |||
32 | -- | 31 | -- |
33 | 2.8.2 | 32 | 2.8.2 |
34 | 33 | ||
diff --git a/recipes-devtools/clang/compiler-rt/0001-support-a-new-embedded-linux-target.patch b/recipes-devtools/clang/compiler-rt/0002-support-a-new-embedded-linux-target.patch index 2fbaf1c..12fc4e4 100644 --- a/recipes-devtools/clang/compiler-rt/0001-support-a-new-embedded-linux-target.patch +++ b/recipes-devtools/clang/compiler-rt/0002-support-a-new-embedded-linux-target.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 6e66e74ebe27ae6b5f072f857bab92a10c600d64 Mon Sep 17 00:00:00 2001 | 1 | From 7b7cdc3fcbec45f08b20600c8410c125edeb67ef Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 19 Apr 2015 15:16:23 -0700 | 3 | Date: Sun, 19 Apr 2015 15:16:23 -0700 |
4 | Subject: [PATCH] support a new embedded linux target | 4 | Subject: [PATCH 2/3] support a new embedded linux target |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | --- | 7 | --- |
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
13 | create mode 100644 make/platform/clang_linux_embedded_test_input.c | 13 | create mode 100644 make/platform/clang_linux_embedded_test_input.c |
14 | 14 | ||
15 | diff --git a/lib/builtins/int_util.c b/lib/builtins/int_util.c | 15 | diff --git a/lib/builtins/int_util.c b/lib/builtins/int_util.c |
16 | index 323e461..d8f775d 100644 | 16 | index 420d1e2..0e46141 100644 |
17 | --- a/lib/builtins/int_util.c | 17 | --- a/lib/builtins/int_util.c |
18 | +++ b/lib/builtins/int_util.c | 18 | +++ b/lib/builtins/int_util.c |
19 | @@ -48,8 +48,7 @@ void compilerrt_abort_impl(const char *file, int line, const char *function) { | 19 | @@ -48,8 +48,7 @@ void compilerrt_abort_impl(const char *file, int line, const char *function) { |
@@ -322,5 +322,5 @@ diff --git a/make/platform/clang_linux_embedded_test_input.c b/make/platform/cla | |||
322 | new file mode 100644 | 322 | new file mode 100644 |
323 | index 0000000..e69de29 | 323 | index 0000000..e69de29 |
324 | -- | 324 | -- |
325 | 2.1.4 | 325 | 2.8.2 |
326 | 326 | ||
diff --git a/recipes-devtools/clang/compiler-rt/0001-Simplify-cross-compilation.-Don-t-use-native-compile.patch b/recipes-devtools/clang/compiler-rt/0003-Simplify-cross-compilation.-Don-t-use-native-compile.patch index 67b0e73..ffbe537 100644 --- a/recipes-devtools/clang/compiler-rt/0001-Simplify-cross-compilation.-Don-t-use-native-compile.patch +++ b/recipes-devtools/clang/compiler-rt/0003-Simplify-cross-compilation.-Don-t-use-native-compile.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 6ca47f1d7d4f9fd34baeba86af67108ac0eaeffe Mon Sep 17 00:00:00 2001 | 1 | From f8617c08ad6e38ccb4623a777cd8c9601af6e2ec Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 3 Apr 2016 07:40:06 +0000 | 3 | Date: Thu, 19 May 2016 23:11:45 -0700 |
4 | Subject: [PATCH] Simplify cross-compilation. Don't use native-compiled | 4 | Subject: [PATCH 3/3] Simplify cross-compilation. Don't use native-compiled |
5 | llvm-config. | 5 | llvm-config. |
6 | 6 | ||
7 | Note: AddLLVM.cmake does not expose the LLVM source directory. | 7 | Note: AddLLVM.cmake does not expose the LLVM source directory. |
@@ -20,13 +20,13 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
20 | 1 file changed, 6 insertions(+), 26 deletions(-) | 20 | 1 file changed, 6 insertions(+), 26 deletions(-) |
21 | 21 | ||
22 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 22 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
23 | index c60c246..6f989bf 100644 | 23 | index d8794b5..d5477cf 100644 |
24 | --- a/CMakeLists.txt | 24 | --- a/CMakeLists.txt |
25 | +++ b/CMakeLists.txt | 25 | +++ b/CMakeLists.txt |
26 | @@ -85,32 +85,12 @@ else() | 26 | @@ -60,32 +60,12 @@ option(COMPILER_RT_BUILD_SANITIZERS "Build sanitizers" ON) |
27 | set(COMPILER_RT_TEST_COMPILER ${CMAKE_C_COMPILER} CACHE PATH "Compiler to use for testing") | 27 | mark_as_advanced(COMPILER_RT_BUILD_SANITIZERS) |
28 | set(COMPILER_RT_TEST_CXX_COMPILER ${CMAKE_CXX_COMPILER} CACHE PATH "C++ Compiler to use for testing") | ||
29 | 28 | ||
29 | if (COMPILER_RT_STANDALONE_BUILD) | ||
30 | - if (NOT LLVM_CONFIG_PATH) | 30 | - if (NOT LLVM_CONFIG_PATH) |
31 | - find_program(LLVM_CONFIG_PATH "llvm-config" | 31 | - find_program(LLVM_CONFIG_PATH "llvm-config" |
32 | - DOC "Path to llvm-config binary") | 32 | - DOC "Path to llvm-config binary") |
@@ -49,7 +49,7 @@ index c60c246..6f989bf 100644 | |||
49 | - | 49 | - |
50 | - # Make use of LLVM CMake modules. | 50 | - # Make use of LLVM CMake modules. |
51 | - file(TO_CMAKE_PATH ${LLVM_BINARY_DIR} LLVM_BINARY_DIR_CMAKE_STYLE) | 51 | - file(TO_CMAKE_PATH ${LLVM_BINARY_DIR} LLVM_BINARY_DIR_CMAKE_STYLE) |
52 | - set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR_CMAKE_STYLE}/share/llvm/cmake") | 52 | - set(LLVM_CMAKE_PATH "${LLVM_BINARY_DIR_CMAKE_STYLE}/lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm") |
53 | - list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}") | 53 | - list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}") |
54 | - # Get some LLVM variables from LLVMConfig. | 54 | - # Get some LLVM variables from LLVMConfig. |
55 | - include("${LLVM_CMAKE_PATH}/LLVMConfig.cmake") | 55 | - include("${LLVM_CMAKE_PATH}/LLVMConfig.cmake") |
@@ -63,5 +63,5 @@ index c60c246..6f989bf 100644 | |||
63 | set(LLVM_LIBRARY_OUTPUT_INTDIR | 63 | set(LLVM_LIBRARY_OUTPUT_INTDIR |
64 | ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX}) | 64 | ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX}) |
65 | -- | 65 | -- |
66 | 1.9.1 | 66 | 2.8.2 |
67 | 67 | ||