summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-llvm-link-external.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-llvm-link-external.patch')
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-llvm-link-external.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-llvm-link-external.patch b/dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-llvm-link-external.patch
deleted file mode 100644
index e0800f6f..00000000
--- a/dynamic-layers/clang-layer/recipes-opencl/igc/files/0001-llvm-link-external.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 0088e843be66ed5f11388a9ef57f364a2a236584 Mon Sep 17 00:00:00 2001
2From: Dongwon Kim <dongwon.kim@intel.com>
3Date: Tue, 1 Mar 2022 17:05:01 -0800
4Subject: [PATCH] llvm-link external
5
6Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
7---
8 IGC/cmake/igc_llvm.cmake | 5 ++++-
9 1 file changed, 4 insertions(+), 1 deletion(-)
10
11diff --git a/IGC/cmake/igc_llvm.cmake b/IGC/cmake/igc_llvm.cmake
12index 80c83d4e0..85f7dda3d 100644
13--- a/IGC/cmake/igc_llvm.cmake
14+++ b/IGC/cmake/igc_llvm.cmake
15@@ -29,7 +29,10 @@ if(LLVM_TABLEGEN_EXE-NOTFOUND)
16 message(FATAL_ERROR "[VC] llvm-tblgen is not found")
17 endif()
18
19-set(LLVM_LINK_EXE "llvm-link" CACHE STRING "")
20+find_program(LLVM_LINK_EXE "llvm-link")
21+if(LLVM_LINK_EXE-NOTFOUND)
22+ message(FATAL_ERROR "[VC] llvm-link is not found")
23+endif()
24
25 include(AddLLVM)
26 include(TableGen)
27--
282.20.1
29