From 0b3f156219f9e04af56b9f5dadcf8220e7821efe Mon Sep 17 00:00:00 2001 From: Teoh Suh Haw Date: Thu, 27 Apr 2023 10:55:52 +0800 Subject: [PATCH] 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 --- .../intel-compute-runtime/external-ocloc.patch | 4 ++-- ...05.25593.11.bb => intel-compute-runtime_23.09.25812.14.bb} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename dynamic-layers/clang-layer/recipes-opencl/compute-runtime/{intel-compute-runtime_23.05.25593.11.bb => intel-compute-runtime_23.09.25812.14.bb} (96%) 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() diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_23.05.25593.11.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_23.09.25812.14.bb similarity index 96% rename from dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_23.05.25593.11.bb rename to dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_23.09.25812.14.bb index 4848c507..cd8eae45 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_23.05.25593.11.bb +++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_23.09.25812.14.bb @@ -8,14 +8,14 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eca6ec6997e18db166db7109cdbe611c \ file://third_party/opencl_headers/LICENSE;md5=dcefc90f4c3c689ec0c2489064e7273b" -SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https;branch=releases/23.05 \ +SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https;branch=releases/23.09 \ " SRC_URI:append:class-target = "file://allow-to-find-cpp-generation-tool.patch \ file://external-ocloc.patch \ " -SRCREV = "4adb15f14975b10138939acbe17e05f2f010fc36" +SRCREV = "d26a2d106c2f0973cdf9fd8c91ba35a377988c1e" S = "${WORKDIR}/git"