summaryrefslogtreecommitdiffstats
path: root/recipes-opencl/compute-runtime/intel-compute-runtime/0003-external-ocloc.patch
diff options
context:
space:
mode:
authorZoltán Böszörményi <zboszor@gmail.com>2025-11-04 13:27:30 +0100
committerYogesh Tyagi <yogesh.tyagi@intel.com>2026-01-01 19:41:38 +0530
commit36e44b684cc74e5d3112f7e430e8ef563d69ee92 (patch)
tree1039f3ef00423e3c43495b3dedd82dd7a96ea0c9 /recipes-opencl/compute-runtime/intel-compute-runtime/0003-external-ocloc.patch
parent76ba9349533821a3a3526d4e8a19be8589f5cefb (diff)
downloadmeta-intel-36e44b684cc74e5d3112f7e430e8ef563d69ee92.tar.gz
Support whinlatter only
Yocto 5.3 merged most of meta-clang. Move recipes from dynamic-layers/clang-layer to the toplevel. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Diffstat (limited to 'recipes-opencl/compute-runtime/intel-compute-runtime/0003-external-ocloc.patch')
-rw-r--r--recipes-opencl/compute-runtime/intel-compute-runtime/0003-external-ocloc.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-opencl/compute-runtime/intel-compute-runtime/0003-external-ocloc.patch b/recipes-opencl/compute-runtime/intel-compute-runtime/0003-external-ocloc.patch
new file mode 100644
index 00000000..2001d839
--- /dev/null
+++ b/recipes-opencl/compute-runtime/intel-compute-runtime/0003-external-ocloc.patch
@@ -0,0 +1,38 @@
1From 0006db5f55a9f08bd3452558a53704cd3bbb790f Mon Sep 17 00:00:00 2001
2From: Dongwon Kim <dongwon.kim@intel.com>
3Date: Wed, 2 Mar 2022 15:52:45 -0800
4Subject: [PATCH 3/5] external ocloc
5
6Upstream-Status: Inappropriate
7
8Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
9---
10 cmake/ocloc_cmd_prefix.cmake | 14 ++++++++------
11 1 file changed, 8 insertions(+), 6 deletions(-)
12
13Index: git/cmake/ocloc_cmd_prefix.cmake
14===================================================================
15--- git.orig/cmake/ocloc_cmd_prefix.cmake
16+++ git/cmake/ocloc_cmd_prefix.cmake
17@@ -4,13 +4,15 @@
18 # SPDX-License-Identifier: MIT
19 #
20
21-if(WIN32)
22- set(ocloc_cmd_prefix ocloc)
23-else()
24- if(DEFINED NEO__IGC_LIBRARY_PATH)
25- set(ocloc_cmd_prefix ${CMAKE_COMMAND} -E env "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NEO__IGC_LIBRARY_PATH}:$<TARGET_FILE_DIR:ocloc_lib>" $<TARGET_FILE:ocloc>)
26+if(NOT DEFINED ocloc_cmd_prefix)
27+ if(WIN32)
28+ set(ocloc_cmd_prefix ocloc)
29 else()
30- set(ocloc_cmd_prefix ${CMAKE_COMMAND} -E env "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$<TARGET_FILE_DIR:ocloc_lib>" $<TARGET_FILE:ocloc>)
31+ if(DEFINED NEO__IGC_LIBRARY_PATH)
32+ set(ocloc_cmd_prefix LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NEO__IGC_LIBRARY_PATH}:$<TARGET_FILE_DIR:ocloc_lib> $<TARGET_FILE:ocloc>)
33+ else()
34+ set(ocloc_cmd_prefix LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$<TARGET_FILE_DIR:ocloc_lib> $<TARGET_FILE:ocloc>)
35+ endif()
36 endif()
37 endif()
38