diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2022-04-05 10:34:33 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-04-05 15:59:12 +0800 |
| commit | c993e8e815b34129b75e761ad249a526830973b1 (patch) | |
| tree | 910059602e3da50ef6fef1b0bbc291dfe9d38a25 /dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0001-llvm-spirv-skip-building-tests.patch | |
| parent | 7bb49b1ae15ab04b352edb58e97927f75846c9b0 (diff) | |
| download | meta-intel-c993e8e815b34129b75e761ad249a526830973b1.tar.gz | |
Remove support for building with LLVM 10
We no longer support building with older branches of OE-Core/meta-clang
so remove LLVM 10 specific configurations and patches.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0001-llvm-spirv-skip-building-tests.patch')
| -rw-r--r-- | dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0001-llvm-spirv-skip-building-tests.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0001-llvm-spirv-skip-building-tests.patch b/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0001-llvm-spirv-skip-building-tests.patch deleted file mode 100644 index 84a4ba19..00000000 --- a/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-0001-llvm-spirv-skip-building-tests.patch +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | From 661021749a168c423d69d0ba7cdfa16fed860836 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
| 3 | Date: Wed, 21 Aug 2019 14:35:31 +0800 | ||
| 4 | Subject: [PATCH 1/3] llvm-spirv: skip building tests | ||
| 5 | |||
| 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 | ||
| 8 | in-tree. | ||
| 9 | |||
| 10 | Instead of using SPIRV_SKIP_CLANG_BUILD to skip clang build and adding this to | ||
| 11 | all components, disable the building of tests altogether. | ||
| 12 | |||
| 13 | Upstream-Status: Inappropriate | ||
| 14 | |||
| 15 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
| 16 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
| 17 | --- | ||
| 18 | CMakeLists.txt | 10 ---------- | ||
| 19 | 1 file changed, 10 deletions(-) | ||
| 20 | |||
| 21 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 22 | index 92c50370..80999c98 100644 | ||
| 23 | --- a/CMakeLists.txt | ||
| 24 | +++ b/CMakeLists.txt | ||
| 25 | @@ -25,13 +25,6 @@ if(LLVM_SPIRV_BUILD_EXTERNAL) | ||
| 26 | set(CMAKE_CXX_STANDARD 14) | ||
| 27 | set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
| 28 | |||
| 29 | - if(LLVM_SPIRV_INCLUDE_TESTS) | ||
| 30 | - set(LLVM_TEST_COMPONENTS | ||
| 31 | - llvm-as | ||
| 32 | - llvm-dis | ||
| 33 | - ) | ||
| 34 | - endif(LLVM_SPIRV_INCLUDE_TESTS) | ||
| 35 | - | ||
| 36 | find_package(LLVM 10.0.0 REQUIRED | ||
| 37 | COMPONENTS | ||
| 38 | Analysis | ||
| 39 | @@ -63,9 +56,6 @@ set(LLVM_SPIRV_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include) | ||
| 40 | |||
| 41 | add_subdirectory(lib/SPIRV) | ||
| 42 | add_subdirectory(tools/llvm-spirv) | ||
| 43 | -if(LLVM_SPIRV_INCLUDE_TESTS) | ||
| 44 | - add_subdirectory(test) | ||
| 45 | -endif(LLVM_SPIRV_INCLUDE_TESTS) | ||
| 46 | |||
| 47 | install( | ||
| 48 | FILES | ||
| 49 | -- | ||
| 50 | 2.17.1 | ||
| 51 | |||
