From c7c7dface32f187bb0ba724b8eb79152f7453f0c Mon Sep 17 00:00:00 2001 From: Yogesh Tyagi Date: Tue, 14 Jan 2025 10:34:38 +0530 Subject: intel-compute-runtime : upgrade 24.26.30049.6 -> 24.39.31294.12 Refresh patch 0002-Build-not-able-to-locate-cpp_generation_tool.patch Release Notes: https://github.com/intel/compute-runtime/releases/tag/24.39.31294.12 Signed-off-by: Yogesh Tyagi Signed-off-by: Anuj Mittal --- ...ld-not-able-to-locate-cpp_generation_tool.patch | 26 +++------ .../intel-compute-runtime_24.26.30049.6.bb | 64 ---------------------- .../intel-compute-runtime_24.39.31294.12.bb | 64 ++++++++++++++++++++++ 3 files changed, 72 insertions(+), 82 deletions(-) delete mode 100644 dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_24.26.30049.6.bb create mode 100644 dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_24.39.31294.12.bb (limited to 'dynamic-layers/clang-layer') diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0002-Build-not-able-to-locate-cpp_generation_tool.patch b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0002-Build-not-able-to-locate-cpp_generation_tool.patch index 1ac21766..45288ce1 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0002-Build-not-able-to-locate-cpp_generation_tool.patch +++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0002-Build-not-able-to-locate-cpp_generation_tool.patch @@ -11,12 +11,12 @@ Signed-off-by: Dongwon Kim shared/source/built_ins/kernels/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -diff --git a/shared/source/built_ins/kernels/CMakeLists.txt b/shared/source/built_ins/kernels/CMakeLists.txt -index ed85a37c52..f7c9e79137 100644 ---- a/shared/source/built_ins/kernels/CMakeLists.txt -+++ b/shared/source/built_ins/kernels/CMakeLists.txt -@@ -107,9 +107,9 @@ function(compile_builtin core_type platform_it builtin bits builtin_options mode - ) +Index: git/shared/source/built_ins/kernels/CMakeLists.txt +=================================================================== +--- git.orig/shared/source/built_ins/kernels/CMakeLists.txt ++++ git/shared/source/built_ins/kernels/CMakeLists.txt +@@ -122,9 +122,9 @@ function(compile_builtin core_type platf + endif() add_custom_command( OUTPUT ${OUTPUT_FILE_CPP} - COMMAND $ --file ${BINARY_OUTPUT}.bin --output ${OUTPUT_FILE_CPP} --array ${mode}_${BASENAME} --device ${RELEASE_FILENAME} @@ -27,8 +27,8 @@ index ed85a37c52..f7c9e79137 100644 ) list(APPEND BUILTINS_COMMANDS "${OUTPUT_FILE_CPP}") else() -@@ -159,9 +159,9 @@ function(generate_cpp_spirv builtin) - ) +@@ -176,9 +176,9 @@ function(generate_cpp_spirv builtin) + endif() add_custom_command( OUTPUT ${OUTPUT_FILE_CPP} - COMMAND $ --file ${GENERATED_SPV_INPUT} --output ${OUTPUT_FILE_CPP} --array ${BASENAME} @@ -39,13 +39,3 @@ index ed85a37c52..f7c9e79137 100644 ) set(OUTPUT_LIST_CPP_FILES ${OUTPUT_LIST_CPP_FILES} ${OUTPUT_FILE_CPP} PARENT_SCOPE) else() -@@ -277,4 +277,4 @@ if(NOT "${OUTPUT_LIST_CPP_FILES}" STREQUAL "") - ) - endif() - --apply_macro_for_each_core_type("SUPPORTED") -\ No newline at end of file -+apply_macro_for_each_core_type("SUPPORTED") --- -2.34.1 - diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_24.26.30049.6.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_24.26.30049.6.bb deleted file mode 100644 index 688ee029..00000000 --- a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_24.26.30049.6.bb +++ /dev/null @@ -1,64 +0,0 @@ -SUMMARY = "The Intel(R) Graphics Compute Runtime for OpenCL(TM)" -DESCRIPTION = "The Intel(R) Graphics Compute Runtime for OpenCL(TM) \ -is an open source project to converge Intel's development efforts \ -on OpenCL(TM) compute stacks supporting the GEN graphics hardware \ -architecture." - -LICENSE = "MIT & Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eca6ec6997e18db166db7109cdbe611c \ - file://third_party/opencl_headers/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https;branch=releases/24.26 \ - file://0001-intel-compute-runtime-fix-build-with-gcc13.patch \ - file://0002-Build-not-able-to-locate-cpp_generation_tool.patch \ - file://0003-external-ocloc.patch \ - " - -SRCREV = "e16f47e375e4324dae07aadbfe953002a1c45195" - -S = "${WORKDIR}/git" - -DEPENDS += " intel-graphics-compiler gmmlib libva qemu-native" - -RDEPENDS:${PN} += " intel-graphics-compiler gmmlib" - -inherit cmake pkgconfig qemu - -COMPATIBLE_HOST = '(x86_64).*-linux' -COMPATIBLE_HOST:libc-musl = "null" - -EXTRA_OECMAKE = " \ - -DIGC_DIR=${STAGING_INCDIR}/igc \ - -DBUILD_TYPE=Release \ - -DSKIP_UNIT_TESTS=1 \ - -DCCACHE_ALLOWED=FALSE \ - -DNEO_DISABLE_LD_LLD=ON \ - -DNEO_DISABLE_LD_GOLD=ON \ - " - -EXTRA_OECMAKE:append:class-target = " \ - -Docloc_cmd_prefix=ocloc \ - -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \ - " - -PACKAGECONFIG ??= "" -PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero" - -do_configure:prepend:class-target () { - # Write out a qemu wrapper that will be used by cmake. - qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${B}/bin'),d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}" - cat > ${WORKDIR}/qemuwrapper << EOF -#!/bin/sh -$qemu_binary "\$@" -EOF - chmod +x ${WORKDIR}/qemuwrapper -} - -FILES:${PN} += " \ - ${libdir}/intel-opencl/libigdrcl.so \ - ${libdir}/libocloc.so \ - " - -FILES:${PN}-dev = "${includedir}" - -UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_24.39.31294.12.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_24.39.31294.12.bb new file mode 100644 index 00000000..1d3c4951 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_24.39.31294.12.bb @@ -0,0 +1,64 @@ +SUMMARY = "The Intel(R) Graphics Compute Runtime for OpenCL(TM)" +DESCRIPTION = "The Intel(R) Graphics Compute Runtime for OpenCL(TM) \ +is an open source project to converge Intel's development efforts \ +on OpenCL(TM) compute stacks supporting the GEN graphics hardware \ +architecture." + +LICENSE = "MIT & Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eca6ec6997e18db166db7109cdbe611c \ + file://third_party/opencl_headers/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https;branch=releases/24.39 \ + file://0001-intel-compute-runtime-fix-build-with-gcc13.patch \ + file://0002-Build-not-able-to-locate-cpp_generation_tool.patch \ + file://0003-external-ocloc.patch \ + " + +SRCREV = "625e7e0d87e3df7a0eb5dae88452092366c8f85b" + +S = "${WORKDIR}/git" + +DEPENDS += " intel-graphics-compiler gmmlib libva qemu-native" + +RDEPENDS:${PN} += " intel-graphics-compiler gmmlib" + +inherit cmake pkgconfig qemu + +COMPATIBLE_HOST = '(x86_64).*-linux' +COMPATIBLE_HOST:libc-musl = "null" + +EXTRA_OECMAKE = " \ + -DIGC_DIR=${STAGING_INCDIR}/igc \ + -DBUILD_TYPE=Release \ + -DSKIP_UNIT_TESTS=1 \ + -DCCACHE_ALLOWED=FALSE \ + -DNEO_DISABLE_LD_LLD=ON \ + -DNEO_DISABLE_LD_GOLD=ON \ + " + +EXTRA_OECMAKE:append:class-target = " \ + -Docloc_cmd_prefix=ocloc \ + -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \ + " + +PACKAGECONFIG ??= "" +PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero" + +do_configure:prepend:class-target () { + # Write out a qemu wrapper that will be used by cmake. + qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${B}/bin'),d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}" + cat > ${WORKDIR}/qemuwrapper << EOF +#!/bin/sh +$qemu_binary "\$@" +EOF + chmod +x ${WORKDIR}/qemuwrapper +} + +FILES:${PN} += " \ + ${libdir}/intel-opencl/libigdrcl.so \ + ${libdir}/libocloc.so \ + " + +FILES:${PN}-dev = "${includedir}" + +UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" -- cgit v1.2.3-54-g00ecf