diff options
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-devtools/clang/files/0001-skip-building-tests.patch')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-devtools/clang/files/0001-skip-building-tests.patch | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dynamic-layers/clang-layer/recipes-devtools/clang/files/0001-skip-building-tests.patch b/dynamic-layers/clang-layer/recipes-devtools/clang/files/0001-skip-building-tests.patch index c58e7d98..9a7b8445 100644 --- a/dynamic-layers/clang-layer/recipes-devtools/clang/files/0001-skip-building-tests.patch +++ b/dynamic-layers/clang-layer/recipes-devtools/clang/files/0001-skip-building-tests.patch | |||
@@ -1,9 +1,9 @@ | |||
1 | From 91db4c3cf7f290a3cab5caa316fc25a60dd409f1 Mon Sep 17 00:00:00 2001 | 1 | From 48e50f06b1bbed94cdf5207587161d4bfce7366e Mon Sep 17 00:00:00 2001 |
2 | From: Anuj Mittal <anuj.mittal@intel.com> | 2 | From: Naveen Saini <naveen.kumar.saini@intel.com> |
3 | Date: Fri, 16 Aug 2019 20:25:16 +0800 | 3 | Date: Wed, 21 Aug 2019 14:35:31 +0800 |
4 | Subject: [PATCH] llvm-spirv: skip including tests | 4 | Subject: [PATCH] llvm-spirv: skip building tests |
5 | 5 | ||
6 | Some of these need clang to be built and since we're building this in-tree, | 6 | Some of these need clang to be built and since we're building this in-tree, |
7 | that leads to problems when compiling libcxx, compiler-rt which aren't built | 7 | that leads to problems when compiling libcxx, compiler-rt which aren't built |
8 | in-tree. | 8 | in-tree. |
9 | 9 | ||
@@ -13,12 +13,13 @@ all components, disable the building of tests altogether. | |||
13 | Upstream-Status: Inappropriate | 13 | Upstream-Status: Inappropriate |
14 | 14 | ||
15 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | 15 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> |
16 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
16 | --- | 17 | --- |
17 | CMakeLists.txt | 10 ---------- | 18 | CMakeLists.txt | 10 ---------- |
18 | 1 file changed, 10 deletions(-) | 19 | 1 file changed, 10 deletions(-) |
19 | 20 | ||
20 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 21 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
21 | index d632a50..81ddf62 100644 | 22 | index 1208741..20ca3e6 100644 |
22 | --- a/CMakeLists.txt | 23 | --- a/CMakeLists.txt |
23 | +++ b/CMakeLists.txt | 24 | +++ b/CMakeLists.txt |
24 | @@ -15,13 +15,6 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) | 25 | @@ -15,13 +15,6 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) |
@@ -32,7 +33,7 @@ index d632a50..81ddf62 100644 | |||
32 | - ) | 33 | - ) |
33 | - endif(LLVM_INCLUDE_TESTS) | 34 | - endif(LLVM_INCLUDE_TESTS) |
34 | - | 35 | - |
35 | find_package(LLVM 8.0.0 REQUIRED | 36 | find_package(LLVM 9.0.0 REQUIRED |
36 | COMPONENTS | 37 | COMPONENTS |
37 | Analysis | 38 | Analysis |
38 | @@ -56,9 +49,6 @@ set(LLVM_SPIRV_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include) | 39 | @@ -56,9 +49,6 @@ set(LLVM_SPIRV_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include) |
@@ -46,5 +47,5 @@ index d632a50..81ddf62 100644 | |||
46 | install( | 47 | install( |
47 | FILES | 48 | FILES |
48 | -- | 49 | -- |
49 | 2.7.4 | 50 | 2.17.1 |
50 | 51 | ||