diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2021-10-13 00:07:17 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-10-13 11:23:41 +0800 |
commit | a809b8c531f6f0176f7148977b1237319abdd660 (patch) | |
tree | 88ce637013b0ea30224d778413417c5fe9e972cf /dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm11-0003-Remove-repo-name-in-LLVM-IR.patch | |
parent | 467d15d57afea208fb7bc35e486ee274700dca70 (diff) | |
download | meta-intel-a809b8c531f6f0176f7148977b1237319abdd660.tar.gz |
Remove support for gatesgarth
Building with oe-core gatesgarth is no longer supported. Remove from
LAYERSERIES_COMPAT and remove the LLVM 11 patches as well.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm11-0003-Remove-repo-name-in-LLVM-IR.patch')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm11-0003-Remove-repo-name-in-LLVM-IR.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm11-0003-Remove-repo-name-in-LLVM-IR.patch b/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm11-0003-Remove-repo-name-in-LLVM-IR.patch deleted file mode 100644 index 15c4f9e2..00000000 --- a/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm11-0003-Remove-repo-name-in-LLVM-IR.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | From a71ab6fb04b918b856f1dd802cfdb4a7ccd53290 Mon Sep 17 00:00:00 2001 | ||
2 | From: Feng Zou <feng.zou@intel.com> | ||
3 | Date: Tue, 20 Oct 2020 11:29:04 +0800 | ||
4 | Subject: [PATCH 3/6] Remove repo name in LLVM IR | ||
5 | |||
6 | Upstream-Status: Backport [Taken from opencl-clang patches, https://github.com/intel/opencl-clang/blob/ocl-open-110/patches/llvm/0002-Remove-repo-name-in-LLVM-IR.patch] | ||
7 | Signed-off-by: Feng Zou <feng.zou@intel.com> | ||
8 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
9 | --- | ||
10 | llvm/cmake/modules/VersionFromVCS.cmake | 23 ++++++++++++----------- | ||
11 | 1 file changed, 12 insertions(+), 11 deletions(-) | ||
12 | |||
13 | diff --git a/llvm/cmake/modules/VersionFromVCS.cmake b/llvm/cmake/modules/VersionFromVCS.cmake | ||
14 | index 18edbeabe3e4..2d9652634787 100644 | ||
15 | --- a/llvm/cmake/modules/VersionFromVCS.cmake | ||
16 | +++ b/llvm/cmake/modules/VersionFromVCS.cmake | ||
17 | @@ -33,17 +33,18 @@ function(get_source_info path revision repository) | ||
18 | else() | ||
19 | set(remote "origin") | ||
20 | endif() | ||
21 | - execute_process(COMMAND ${GIT_EXECUTABLE} remote get-url ${remote} | ||
22 | - WORKING_DIRECTORY ${path} | ||
23 | - RESULT_VARIABLE git_result | ||
24 | - OUTPUT_VARIABLE git_output | ||
25 | - ERROR_QUIET) | ||
26 | - if(git_result EQUAL 0) | ||
27 | - string(STRIP "${git_output}" git_output) | ||
28 | - set(${repository} ${git_output} PARENT_SCOPE) | ||
29 | - else() | ||
30 | - set(${repository} ${path} PARENT_SCOPE) | ||
31 | - endif() | ||
32 | + # Do not show repo name in IR | ||
33 | + # execute_process(COMMAND ${GIT_EXECUTABLE} remote get-url ${remote} | ||
34 | + # WORKING_DIRECTORY ${path} | ||
35 | + # RESULT_VARIABLE git_result | ||
36 | + # OUTPUT_VARIABLE git_output | ||
37 | + # ERROR_QUIET) | ||
38 | + # if(git_result EQUAL 0) | ||
39 | + # string(STRIP "${git_output}" git_output) | ||
40 | + # set(${repository} ${git_output} PARENT_SCOPE) | ||
41 | + # else() | ||
42 | + # set(${repository} ${path} PARENT_SCOPE) | ||
43 | + # endif() | ||
44 | endif() | ||
45 | else() | ||
46 | message(WARNING "Git not found. Version cannot be determined.") | ||
47 | -- | ||
48 | 2.17.1 | ||
49 | |||