From 0b3f156219f9e04af56b9f5dadcf8220e7821efe Mon Sep 17 00:00:00 2001 From: Teoh Suh Haw Date: Thu, 27 Apr 2023 10:55:52 +0800 Subject: intel-compute-runtime: upgrade 23.05.25593.11 -> 23.09.25812.14 Release Notes: https://github.com/intel/compute-runtime/releases/tag/23.09.25812.14 Adapt external-ocloc.patch Signed-off-by: Teoh Suh Haw Signed-off-by: Anuj Mittal --- .../compute-runtime/intel-compute-runtime/external-ocloc.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/external-ocloc.patch') diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/external-ocloc.patch b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/external-ocloc.patch index c3c5d017..5f93b7b6 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/external-ocloc.patch +++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/external-ocloc.patch @@ -22,12 +22,12 @@ index 2b44330831..03067c9df0 100644 - set(ocloc_cmd_prefix ocloc) -else() - if(DEFINED NEO__IGC_LIBRARY_PATH) -- set(ocloc_cmd_prefix LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NEO__IGC_LIBRARY_PATH}:$ $) +- set(ocloc_cmd_prefix ${CMAKE_COMMAND} -E env "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NEO__IGC_LIBRARY_PATH}:$" $) +if(NOT DEFINED ocloc_cmd_prefix) + if(WIN32) + set(ocloc_cmd_prefix ocloc) else() -- set(ocloc_cmd_prefix LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ $) +- set(ocloc_cmd_prefix ${CMAKE_COMMAND} -E env "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$" $) + if(DEFINED NEO__IGC_LIBRARY_PATH) + set(ocloc_cmd_prefix LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NEO__IGC_LIBRARY_PATH}:$ $) + else() -- cgit v1.2.3-54-g00ecf