diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2021-08-20 09:45:23 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-08-24 10:41:24 +0800 |
commit | 109fe9679337315fe80c1f97491fe4059fdf05cb (patch) | |
tree | b6c5e3bdea0f2e70964a41dd727e18693ca0ea72 /dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-Remove-repo-name-in-LLVM-IR.patch | |
parent | 3838f1d263aceef8f94c340593323b67391a26fa (diff) | |
download | meta-intel-109fe9679337315fe80c1f97491fe4059fdf05cb.tar.gz |
llvm/10.0.0: apply opencl-clang recommend patches
https://github.com/intel/opencl-clang/tree/ocl-open-100/patches
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-Remove-repo-name-in-LLVM-IR.patch')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-Remove-repo-name-in-LLVM-IR.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-Remove-repo-name-in-LLVM-IR.patch b/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-Remove-repo-name-in-LLVM-IR.patch deleted file mode 100644 index 232ae063..00000000 --- a/dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-Remove-repo-name-in-LLVM-IR.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From b53fd86ffdeacb9b13624bdb110fd25e8c35cb92 Mon Sep 17 00:00:00 2001 | ||
2 | From: Feng Zou <feng.zou@intel.com> | ||
3 | Date: Mon, 19 Oct 2020 14:43:38 +0800 | ||
4 | Subject: [PATCH] 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-100/patches/llvm/0003-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 | --- | ||
11 | llvm/cmake/modules/VersionFromVCS.cmake | 23 ++++++++++++----------- | ||
12 | 1 file changed, 12 insertions(+), 11 deletions(-) | ||
13 | |||
14 | diff --git a/llvm/cmake/modules/VersionFromVCS.cmake b/llvm/cmake/modules/VersionFromVCS.cmake | ||
15 | index 1b6519b4b7c..8fd6b23bb34 100644 | ||
16 | --- a/llvm/cmake/modules/VersionFromVCS.cmake | ||
17 | +++ b/llvm/cmake/modules/VersionFromVCS.cmake | ||
18 | @@ -33,17 +33,18 @@ function(get_source_info path revision repository) | ||
19 | else() | ||
20 | set(remote "origin") | ||
21 | endif() | ||
22 | - execute_process(COMMAND ${GIT_EXECUTABLE} remote get-url ${remote} | ||
23 | - WORKING_DIRECTORY ${path} | ||
24 | - RESULT_VARIABLE git_result | ||
25 | - OUTPUT_VARIABLE git_output | ||
26 | - ERROR_QUIET) | ||
27 | - if(git_result EQUAL 0) | ||
28 | - string(STRIP "${git_output}" git_output) | ||
29 | - set(${repository} ${git_output} PARENT_SCOPE) | ||
30 | - else() | ||
31 | - set(${repository} ${path} PARENT_SCOPE) | ||
32 | - endif() | ||
33 | + # Do not show repo name in IR | ||
34 | + # execute_process(COMMAND ${GIT_EXECUTABLE} remote get-url ${remote} | ||
35 | + # WORKING_DIRECTORY ${path} | ||
36 | + # RESULT_VARIABLE git_result | ||
37 | + # OUTPUT_VARIABLE git_output | ||
38 | + # ERROR_QUIET) | ||
39 | + # if(git_result EQUAL 0) | ||
40 | + # string(STRIP "${git_output}" git_output) | ||
41 | + # set(${repository} ${git_output} PARENT_SCOPE) | ||
42 | + # else() | ||
43 | + # set(${repository} ${path} PARENT_SCOPE) | ||
44 | + # endif() | ||
45 | endif() | ||
46 | endif() | ||
47 | endfunction() | ||
48 | -- | ||
49 | 2.18.1 | ||
50 | |||