From 109fe9679337315fe80c1f97491fe4059fdf05cb Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Fri, 20 Aug 2021 09:45:23 +0800 Subject: 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 Signed-off-by: Anuj Mittal --- .../files/llvm10-Remove-repo-name-in-LLVM-IR.patch | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-Remove-repo-name-in-LLVM-IR.patch (limited to 'dynamic-layers/clang-layer/recipes-devtools/clang/files/llvm10-Remove-repo-name-in-LLVM-IR.patch') 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 @@ -From b53fd86ffdeacb9b13624bdb110fd25e8c35cb92 Mon Sep 17 00:00:00 2001 -From: Feng Zou -Date: Mon, 19 Oct 2020 14:43:38 +0800 -Subject: [PATCH] Remove repo name in LLVM IR - -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] -Signed-off-by: Feng Zou -Signed-off-by: Naveen Saini - ---- - llvm/cmake/modules/VersionFromVCS.cmake | 23 ++++++++++++----------- - 1 file changed, 12 insertions(+), 11 deletions(-) - -diff --git a/llvm/cmake/modules/VersionFromVCS.cmake b/llvm/cmake/modules/VersionFromVCS.cmake -index 1b6519b4b7c..8fd6b23bb34 100644 ---- a/llvm/cmake/modules/VersionFromVCS.cmake -+++ b/llvm/cmake/modules/VersionFromVCS.cmake -@@ -33,17 +33,18 @@ function(get_source_info path revision repository) - else() - set(remote "origin") - endif() -- execute_process(COMMAND ${GIT_EXECUTABLE} remote get-url ${remote} -- WORKING_DIRECTORY ${path} -- RESULT_VARIABLE git_result -- OUTPUT_VARIABLE git_output -- ERROR_QUIET) -- if(git_result EQUAL 0) -- string(STRIP "${git_output}" git_output) -- set(${repository} ${git_output} PARENT_SCOPE) -- else() -- set(${repository} ${path} PARENT_SCOPE) -- endif() -+ # Do not show repo name in IR -+ # execute_process(COMMAND ${GIT_EXECUTABLE} remote get-url ${remote} -+ # WORKING_DIRECTORY ${path} -+ # RESULT_VARIABLE git_result -+ # OUTPUT_VARIABLE git_output -+ # ERROR_QUIET) -+ # if(git_result EQUAL 0) -+ # string(STRIP "${git_output}" git_output) -+ # set(${repository} ${git_output} PARENT_SCOPE) -+ # else() -+ # set(${repository} ${path} PARENT_SCOPE) -+ # endif() - endif() - endif() - endfunction() --- -2.18.1 - -- cgit v1.2.3-54-g00ecf