summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers')
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb83
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb54
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb45
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb74
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/toolkit/files/license.txt120
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/toolkit/intel-oneapi-toolkit_2026.0.0.198.bb320
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0004-refactor-use-std-numeric_limits-to-get-max-value.patch107
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0005-include-cstdint-for-drm-tip-helper.patch30
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0006-test-excludes-include-cstdint.patch32
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.48.36300.8.bb7
-rw-r--r--dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb35
-rw-r--r--dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/files/intel-oneapi-runtime.conf4
-rw-r--r--dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb22
13 files changed, 662 insertions, 271 deletions
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb b/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb
index ed36df43..9b564461 100644
--- a/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb
+++ b/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb
@@ -42,41 +42,45 @@ INSANE_SKIP:${PN} += "file-rdeps buildpaths"
42INSANE_SKIP:${PN}-dbg += "buildpaths" 42INSANE_SKIP:${PN}-dbg += "buildpaths"
43 43
44# Only need native tools for building, LLVM 20.1 is bundled 44# Only need native tools for building, LLVM 20.1 is bundled
45# ncurses needed for libedit (LLVM dependency) 45# ARCHITECTURAL NOTE: This recipe uses a superbuild approach that builds LLVM internally.
46DEPENDS = "bison-native flex-native ninja-native ncurses" 46# CMake isolation flags prevent the superbuild from finding libraries in recipe-sysroot-native.
47#
48# DEPENDS: Only native build tools, NO native libraries
49DEPENDS = "bison-native flex-native ninja-native"
47RDEPENDS:${PN}-ptest += "bash python3-multiprocessing" 50RDEPENDS:${PN}-ptest += "bash python3-multiprocessing"
48 51
49PACKAGECONFIG ??= "" 52PACKAGECONFIG ??= ""
50# Default to Threads tasking model; override with TBB if enabled 53# Default to Threads tasking model; override with TBB if enabled
51PACKAGECONFIG[tbb] = "-DISPCRT_BUILD_TASK_MODEL=TBB, , tbb" 54PACKAGECONFIG[tbb] = "-DISPCRT_BUILD_TASK_MODEL=TBB, , tbb"
52 55
53do_compile:prepend() { 56# Use superbuild with bundled LLVM 20.1
54 # Clean OE-specific flags from toolchain files for bundled LLVM build 57OECMAKE_SOURCEPATH = "${S}/superbuild"
58
59# Minimal patching of generated toolchain files to use full compiler paths
60do_configure:append() {
55 for toolchain in stage1-toolchain.cmake stage2-toolchain.cmake; do 61 for toolchain in stage1-toolchain.cmake stage2-toolchain.cmake; do
56 [ -f ${B}/${toolchain} ] || continue 62 if [ -f ${B}/${toolchain} ]; then
57 sed -i -e 's|set(CMAKE_C\(XX\)\?_FLAGS.*|set(CMAKE_C\1_FLAGS "")|g' \ 63 # Replace symbolic compiler names with full paths for Yocto build environment
58 -e 's|set(CMAKE_\(EXE\|SHARED\|MODULE\)_LINKER_FLAGS.*|set(CMAKE_\1_LINKER_FLAGS "")|g' \ 64 sed -i -e "s|set(CMAKE_C_COMPILER cc)|set(CMAKE_C_COMPILER ${BUILD_CC})|" \
59 ${B}/${toolchain} 65 -e "s|set(CMAKE_CXX_COMPILER c++)|set(CMAKE_CXX_COMPILER ${BUILD_CXX})|" \
66 ${B}/${toolchain}
67
68 # Clear Yocto cross-compilation flags incompatible with host superbuild
69 sed -i -e 's|set(CMAKE_C\(XX\)\?_FLAGS .*|set(CMAKE_C\1_FLAGS "" CACHE STRING "CFLAGS")|' \
70 -e 's|set(CMAKE_\(EXE\|SHARED\|MODULE\)_LINKER_FLAGS .*|set(CMAKE_\1_LINKER_FLAGS "" CACHE STRING "LDFLAGS")|' \
71 ${B}/${toolchain}
72 fi
60 done 73 done
61
62 # Use native compilers for stage1
63 [ -f ${B}/stage1-toolchain.cmake ] && sed -i \
64 -e "s|set(CMAKE_C_COMPILER cc)|set(CMAKE_C_COMPILER ${BUILD_CC})|" \
65 -e "s|set(CMAKE_CXX_COMPILER c++)|set(CMAKE_CXX_COMPILER ${BUILD_CXX})|" \
66 ${B}/stage1-toolchain.cmake && \
67 echo "set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)" >> ${B}/stage1-toolchain.cmake
68} 74}
69 75
70
71
72# Use superbuild with bundled LLVM 20.1
73OECMAKE_SOURCEPATH = "${S}/superbuild"
74
75EXTRA_OECMAKE += " \ 76EXTRA_OECMAKE += " \
76 --preset os \ 77 --preset os \
77 -G Ninja \
78 -DLLVM_VERSION=20.1 \ 78 -DLLVM_VERSION=20.1 \
79 -DLLVM_DISABLE_ASSERTIONS=ON \ 79 -DLLVM_DISABLE_ASSERTIONS=ON \
80 -DLLVM_ENABLE_LIBEDIT=OFF \
81 -DLLVM_ENABLE_TERMINFO=OFF \
82 -DLLVM_ENABLE_ZLIB=OFF \
83 -DLLVM_ENABLE_ZSTD=OFF \
80 -DLLVM_URL=${UNPACKDIR}/git/llvm-project \ 84 -DLLVM_URL=${UNPACKDIR}/git/llvm-project \
81 -DVC_INTRINSICS_URL=${UNPACKDIR}/git/vc-intrinsics \ 85 -DVC_INTRINSICS_URL=${UNPACKDIR}/git/vc-intrinsics \
82 -DVC_INTRINSICS_SHA=${SRCREV_vc} \ 86 -DVC_INTRINSICS_SHA=${SRCREV_vc} \
@@ -98,16 +102,25 @@ EXTRA_OECMAKE += " \
98 -DISPC_IOS_TARGET=OFF \ 102 -DISPC_IOS_TARGET=OFF \
99 -DISPC_PS_TARGET=OFF \ 103 -DISPC_PS_TARGET=OFF \
100 -DXE_DEPS=OFF \ 104 -DXE_DEPS=OFF \
105 -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=NEVER \
106 -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=NEVER \
107 -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=NEVER \
101 " 108 "
102 109
103do_compile() { 110do_compile() {
104 # Unset OE-specific flags for stage1 LLVM build
105 export CFLAGS_FOR_BUILD=""
106 export CXXFLAGS_FOR_BUILD=""
107 export LDFLAGS_FOR_BUILD=""
108
109 bbnote "Building ispc with bundled LLVM 20.1" 111 bbnote "Building ispc with bundled LLVM 20.1"
110 cmake --build "${B}" --target all -- ${EXTRA_OECMAKEBUILD} 112
113 # Scope environment clearing to just the cmake build command
114 # This prevents Yocto cross-compilation flags from contaminating the host superbuild
115 env \
116 CFLAGS= \
117 CXXFLAGS= \
118 CPPFLAGS= \
119 LDFLAGS= \
120 CMAKE_PREFIX_PATH= \
121 CMAKE_LIBRARY_PATH= \
122 CMAKE_INCLUDE_PATH= \
123 cmake --build "${B}" --target all -- ${EXTRA_OECMAKEBUILD}
111} 124}
112 125
113# Superbuild installs ispc to build/ispc-stage2 instead of ${D} 126# Superbuild installs ispc to build/ispc-stage2 instead of ${D}
@@ -123,9 +136,9 @@ do_install:append:class-target() {
123 install -m 0755 ${S}/scripts/run_tests.py ${D}${libdir}/ispc/gio/ 136 install -m 0755 ${S}/scripts/run_tests.py ${D}${libdir}/ispc/gio/
124 install -m 0644 ${S}/scripts/common.py ${D}${libdir}/ispc/gio/ 137 install -m 0644 ${S}/scripts/common.py ${D}${libdir}/ispc/gio/
125 cp -r ${S}/tests ${D}${libdir}/ispc/gio/ 138 cp -r ${S}/tests ${D}${libdir}/ispc/gio/
126 cp ${S}/test_static.isph ${D}${libdir}/ispc/gio/ || true 139 cp ${S}/tests/test_static.isph ${D}${libdir}/ispc/gio/ || true
127 cp ${S}/fail_db.txt ${D}${libdir}/ispc/gio/ || true 140 cp ${S}/tests/fail_db.txt ${D}${libdir}/ispc/gio/ || true
128 cp ${S}/test_static.cpp ${D}${libdir}/ispc/gio/ || true 141 cp ${S}/tests/test_static.cpp ${D}${libdir}/ispc/gio/ || true
129} 142}
130 143
131do_install_ptest:class-target() { 144do_install_ptest:class-target() {
@@ -133,15 +146,11 @@ do_install_ptest:class-target() {
133 install -m 0755 ${S}/scripts/run_tests.py ${D}${PTEST_PATH}/ 146 install -m 0755 ${S}/scripts/run_tests.py ${D}${PTEST_PATH}/
134 install -m 0644 ${S}/scripts/common.py ${D}${PTEST_PATH}/ 147 install -m 0644 ${S}/scripts/common.py ${D}${PTEST_PATH}/
135 cp -r ${S}/tests ${D}${PTEST_PATH}/ 148 cp -r ${S}/tests ${D}${PTEST_PATH}/
136 cp ${S}/test_static.isph ${D}${PTEST_PATH}/ || true 149 cp ${S}/tests/test_static.isph ${D}${PTEST_PATH}/ || true
137 cp ${S}/fail_db.txt ${D}${PTEST_PATH}/ || true 150 cp ${S}/tests/fail_db.txt ${D}${PTEST_PATH}/ || true
138 cp ${S}/test_static.cpp ${D}${PTEST_PATH}/ || true 151 cp ${S}/tests/test_static.cpp ${D}${PTEST_PATH}/ || true
139} 152}
140 153
141PACKAGES:prepend:class-target = "${PN}-test "
142FILES:${PN}-test:class-target = "${libdir}/ispc/gio/*"
143RDEPENDS:${PN}-test:class-target += "bash python3-multiprocessing ${PN}"
144
145pkg_postinst:${PN}() { 154pkg_postinst:${PN}() {
146 #!/bin/sh 155 #!/bin/sh
147 # Create /lib64 symlink if it doesn't exist (needed for ispc binary built with /lib64 interpreter path) 156 # Create /lib64 symlink if it doesn't exist (needed for ispc binary built with /lib64 interpreter path)
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb b/dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb
deleted file mode 100644
index 106b3ad5..00000000
--- a/dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb
+++ /dev/null
@@ -1,54 +0,0 @@
1SUMMARY = "Intel® oneAPI DPC++/C++ Compiler runtime files"
2DESCRIPTION = "The Intel® oneAPI DPC++/C++ Compiler provides optimizations \
3that help your applications run faster on Intel® 64 architectures with support \
4for the latest C, C++, and SYCL language standards. This compiler produces \
5optimized code that can run significantly faster by taking advantage of the \
6ever-increasing core count and vector register width in Intel® Xeon® processors \
7and compatible processors."
8
9HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html"
10
11LICENSE = "EULA"
12
13COMPILERMAINVER = "2024.0"
14
15LIC_FILES_CHKSUM = " \
16 file://opt/intel/oneapi/licensing/${COMPILERMAINVER}/licensing/${COMPILERMAINVER}/license.htm;md5=5ff64c6ff3ef98089ed69360e7a84c39 \
17 "
18COMPILERDOTVER = "2024.0.0-49406"
19DEVUTILITVERSION = "2024.0-2024.0.0-49320"
20SRC_URI = " \
21 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-dpcpp-cpp-runtime-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=dpcpp-runtime \
22 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-dpcpp-cpp-common-${COMPILERMAINVER}-${PV}_all.deb;subdir=${BPN};name=dpcpp-common \
23 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-shared-runtime-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=compiler-shared-runtime \
24 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-common-vars-${COMPILERDOTVER}_all.deb;subdir=${BPN};name=common-vars \
25 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-openmp-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=openmp \
26 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-openmp-common-${COMPILERMAINVER}-${PV}_all.deb;subdir=${BPN};name=openmp-common \
27 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-common-licensing-${COMPILERMAINVER}-${COMPILERDOTVER}_all.deb;subdir=${BPN};name=license \
28 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-dev-utilities-${DEVUTILITVERSION}_amd64.deb;subdir=${BPN};name=dev-utils \
29 "
30
31SRC_URI[dpcpp-runtime.sha256sum] = "e24f0ba69daf3f66ceaf23d5e632f183cdb90bac69f65407fdb4407fc9034f33"
32SRC_URI[dpcpp-common.sha256sum] = "f5a3db6a725598224edf1099260955aee3e36beadcaed2af5b8b453e873a82fa"
33SRC_URI[compiler-shared-runtime.sha256sum] = "bce010cbe076259ddd3feb8e69792869e22fccd5b4e2c9af9e815826f2c1a394"
34SRC_URI[common-vars.sha256sum] = "368553c99db1b52060b8225355336778be0b00e5991d0f769c42f891c6328750"
35SRC_URI[openmp.sha256sum] = "154ff1e81adfdc872ba1d47bd860de70d62188417c7128422435dfd0ceca62fe"
36SRC_URI[openmp-common.sha256sum] = "8217001d78311cbef97dd139e684c6767932b532309c3843ba57d7894d15c07d"
37SRC_URI[license.sha256sum] = "9f9c8a12fc0bc82ab5b71e118e66745eff23f42224eba304068225b366cd74b6"
38SRC_URI[dev-utils.sha256sum] = "c675d960a5abca361cead9217d6e74adee499ee0a095c4e44092bd710b304d50"
39
40S = "${UNPACKDIR}/${BPN}"
41
42inherit bin_package
43
44RDEPENDS:${PN} += "virtual-opencl-icd zlib tbb level-zero-loader bash tcsh"
45SKIP_FILEDEPS:${PN} = '1'
46
47INHIBIT_PACKAGE_STRIP = "1"
48INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
49
50# doesn't have GNU_HASH (didn't pass LDFLAGS?)
51INSANE_SKIP:${PN} += "textrel dev-so dev-elf ldflags already-stripped staticdev rpaths arch useless-rpaths file-rdeps"
52
53FILES_SOLIBSDEV = ""
54BBCLASSEXTEND = "native nativesdk"
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb b/dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb
deleted file mode 100644
index d2bd72a3..00000000
--- a/dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb
+++ /dev/null
@@ -1,45 +0,0 @@
1SUMMARY = "Intel® oneAPI DPC++/C++ Compiler"
2DESCRIPTION = "The Intel® oneAPI DPC++/C++ Compiler provides optimizations \
3that help your applications run faster on Intel® 64 architectures with support \
4for the latest C, C++, and SYCL language standards. This compiler produces \
5optimized code that can run significantly faster by taking advantage of the \
6ever-increasing core count and vector register width in Intel® Xeon® processors \
7and compatible processors."
8
9HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html"
10
11LICENSE = "EULA"
12
13COMPILERMAINVER = "2024.0"
14
15LIC_FILES_CHKSUM = " \
16 file://opt/intel/oneapi/compiler/${COMPILERMAINVER}/share/doc/compiler/credist.txt;md5=b41f55af9f479b9570fc35b955d5ba1a \
17 "
18
19SRC_URI = " \
20 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-dpcpp-cpp-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=icx-compiler \
21 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-shared-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=compiler-linker \
22 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-shared-common-${COMPILERMAINVER}-${PV}_all.deb;subdir=${BPN};name=shared-common \
23 "
24
25SRC_URI[icx-compiler.sha256sum] = "0dcbac766d5a1519d4cf393f5a85e71d19024fef65f77638f3f849796b62cd82"
26SRC_URI[compiler-linker.sha256sum] = "e00faea6d797934d62143e4aa70b727ce30f80fdf30769d22122b3051140c236"
27SRC_URI[shared-common.sha256sum] = "cf490a4a790f349da79e618359598d3b32312ca3b2639e5d4c84e1cfa2745558"
28
29S = "${UNPACKDIR}/${BPN}"
30
31inherit bin_package
32
33RDEPENDS:${PN} += "intel-oneapi-dpcpp-cpp-runtime"
34SKIP_FILEDEPS:${PN} = '1'
35
36INHIBIT_PACKAGE_STRIP = "1"
37INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
38
39# doesn't have GNU_HASH (didn't pass LDFLAGS?)
40INSANE_SKIP:${PN} += "textrel dev-so dev-elf ldflags already-stripped file-rdeps staticdev rpaths arch useless-rpaths"
41
42FILES_SOLIBSDEV = ""
43
44EXCLUDE_FROM_SHLIBS = "1"
45BBCLASSEXTEND = "native nativesdk"
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb b/dynamic-layers/clang-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb
deleted file mode 100644
index e77ac588..00000000
--- a/dynamic-layers/clang-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb
+++ /dev/null
@@ -1,74 +0,0 @@
1SUMMARY = "Intel® oneAPI Math Kernel Library (oneMKL)"
2DESCRIPTION = "The Intel® oneAPI Math Kernel Library (oneMKL) is a computing \
3 math library of highly optimized and extensively parallelized routines \
4 for applications that require maximum performance. oneMKL contains \
5 the high-performance optimizations from the full Intel® Math Kernel Library \
6 for CPU architectures (with C/Fortran programming language interfaces)\
7 and adds to them a set of DPC++ programming language interfaces for \
8 achieving performance on various CPU architectures \
9 and Intel Graphics Technology for certain key functionalities."
10HOMEPAGE = "https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl.html"
11
12LICENSE = "ISSL"
13
14MKLMAINVER = "2024.0"
15
16LIC_FILES_CHKSUM = " \
17 file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/license.txt;md5=8510d21bf355a76e378c3216c3929ccd \
18 file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs-benchmarks.txt;md5=cb98e1a1f14c05ea85a979ea8982e7a4 \
19 file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs-ipp.txt;md5=a4b2bf15e38f5c1267cdafed18bc0b09 \
20 file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs-openmp.txt;md5=6b3c1aa2a11393060074c0346ce21e49 \
21 file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs-safestring.txt;md5=c3aeee91c6d35a0f0753aed6c2633b82 \
22 file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs.txt;md5=27de873e4084d62530fe828406b33ca9 \
23 "
24
25SRC_URI = " \
26 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-${MKLMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=runtime \
27 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-common-devel-${MKLMAINVER}-${PV}_all.deb;subdir=${BPN};name=common-devel \
28 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-devel-${MKLMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=devel \
29 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-common-${MKLMAINVER}-${PV}_all.deb;subdir=${BPN};name=common-vars \
30 "
31
32SRC_URI[runtime.sha256sum] = "10a86e24051d6ef4a80fd839c570e629190638a3c0ac9bcca99ab855f534b959"
33SRC_URI[common-devel.sha256sum] = "adbf0ea946f63946d29b7f9c750c38a42ea7a65d8c81655b268aa2c7bb908192"
34SRC_URI[devel.sha256sum] = "fab2a6f15e18bfd9b4d425f2703e4e98928c57f52c4feebc9ed886f097062e84"
35SRC_URI[common-vars.sha256sum] = "ec2b67813739fa4a2895f63479a41acba2174afe2d0cb8a0c1c9119d1317d8ef"
36
37S = "${UNPACKDIR}/${BPN}"
38
39inherit bin_package
40
41do_install:append () {
42 install -d ${D}${bindir}
43 (cd ${D}${bindir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/bin/* .)
44 install -d ${D}${libdir}
45 (cd ${D}${libdir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/intel64/*.so* .)
46 (cd ${D}${libdir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/intel64/*.a* .)
47 install -d ${D}${libdir}/pkgconfig
48 (cd ${D}${libdir}/pkgconfig ; ln -s ../../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/pkgconfig/* .)
49 install -d ${D}${libdir}/cmake
50 (cd ${D}${libdir}/cmake ; ln -s ../../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/cmake/* .)
51
52 install -d ${D}${includedir}
53 find ${D}/opt/intel/oneapi/mkl/${MKLMAINVER}/include/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | while read srcdir; do
54 install -d ${D}${includedir}/$srcdir
55 (cd ${D}${includedir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/include/$srcdir/* ./$srcdir/)
56 done
57
58 find ${D}/opt/intel/oneapi/mkl/${MKLMAINVER}/include/ -mindepth 1 -maxdepth 1 -type f -printf '%f\n' | while read srcfile; do
59 (cd ${D}${includedir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/include/$srcfile .)
60 done
61}
62
63AUTO_LIBNAME_PKGS = ""
64INHIBIT_PACKAGE_STRIP = "1"
65INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
66
67RDEPENDS:${PN} += "bash tbb intel-oneapi-dpcpp-cpp-runtime setup-intel-oneapi-env virtual-opencl-icd"
68INSANE_SKIP:${PN} = "ldflags textrel dev-so staticdev arch already-stripped"
69
70FILES:${PN}-staticdev += "/opt/intel/oneapi/mkl/${MKLMAINVER}/lib/*.a*"
71
72SKIP_FILEDEPS:${PN} = '1'
73
74SYSROOT_DIRS += "/opt"
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/toolkit/files/license.txt b/dynamic-layers/clang-layer/recipes-oneapi/toolkit/files/license.txt
new file mode 100644
index 00000000..955e4cba
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-oneapi/toolkit/files/license.txt
@@ -0,0 +1,120 @@
1Intel End User License Agreement for Developer Tools (Version August 2024)
2
3IMPORTANT NOTICE - PLEASE READ AND AGREE BEFORE DOWNLOADING, INSTALLING, COPYING OR USING
4
5This Agreement is between you, or the company or other legal entity that you represent and warrant you have the legal authority to bind, (each, "You" or "Your") and Intel Corporation and its subsidiaries (collectively, "Intel") regarding Your use of the Materials. By downloading, installing, copying or using the Materials, You agree to be bound by the terms of this Agreement. If You do not agree to the terms of this Agreement, or do not have legal authority or required age to agree to them, do not download, install, copy or use the Materials.
6
71. LICENSE DEFINITIONS.
8
9A. "AI" means computer or machine technology that functions to simulate human intelligence, cognition, and problem-solving capabilities.
10
11B. "Cloud Provider" means a third party service provider offering a cloud-based platform, infrastructure, application or storage services, such as Microsoft Azure, Google Cloud or Amazon Web Services, which You may only utilize to host the Materials subject to the restrictions set forth in Section 2.3 B.
12
13C. "Derivative Work" means a derivative work, as defined in 17 U.S.C. § 101, of the Materials in Source Code.
14
15D. "Executable Code" means software in binary form suitable for machine execution by a processor without the intervening steps of interpretation or compilation.
16
17E. "GAI" means AI that functions to generate content based on inputs.
18
19F. "Materials" mean the software, documentation, and other collateral, including any updates, made available to You by Intel under this Agreement. Materials include Executable Code, Source Code, Sample Source Code, and Redistributables, and Pre-Release Materials, but do not include Third Party Software.
20
21G. "Pre-Release Materials" mean the Materials that are identified (in the product release notes, on Intel's download website for the Materials or elsewhere) or labeled as pre-release, prototype, alpha or beta software (i) which may not be fully functional or tested and may contain bugs or errors; (ii) which Intel may substantially modify in its development of a production version; or (iii) for which Intel makes no assurances that it will ever develop or make a production version generally available. Pre-Release Materials are subject to the terms of Section 3.2 and not Section 2.1.
22
23H. "Reciprocal Open Source Software" means any software that is subject to a license which requires that (i) it must be distributed in Source Code form; (ii) it must be licensed under the same open source license terms; and (iii) its derivative works must be licensed under the same open source license terms. Examples of this type of license are the GNU General Public License or the Mozilla Public License.
24
25I. "Redistributables" mean the files (if any) listed in the "redist.txt," "redist-rt.txt" or similarly-named text files that may be included in the Materials. Redistributables include Sample Source Code.
26
27J. "Sample Source Code" means the software portion of the Materials that are provided in Source Code and are identified as sample code or example code. Sample Source Code may not have been tested or validated by Intel and is provided purely as a programming example.
28
29K. "Source Code" means software in human readable format.
30
31L. "Third Party Software" mean the files (if any) listed in the "third-party-software.txt" or other similarly-named text file that may be included in the Materials for the applicable software. Third Party Software is subject to the terms of Section 2.2.
32
33M. "Your Product" means one or more applications, products or projects developed by or for You using the Materials.
34
352. LICENSE GRANTS.
36
372.1 License to the Materials. Subject to the terms and conditions of this Agreement, Intel grants You a non-exclusive, worldwide, non-assignable, non-sublicensable, limited right and license under its copyrights, to:
38
39A. reproduce internally a reasonable number of copies of the Materials for Your personal or business use;
40
41B. use the Materials solely for Your personal or business use to develop Your Product, in accordance with the documentation included as part of the Materials;
42
43C. modify or create Derivative Works of the Redistributables provided to You in Source Code;
44
45D. distribute (directly and through Your distributors, resellers, and other channel partners, if applicable), the Redistributables, including any modifications to or Derivative Works of the Redistributables made pursuant to Section 2.1.C, subject to the following conditions:
46
47(1) Any distribution of the Redistributables must only be as part of Your Product;
48
49(2) Any Redistributables provided to You by Intel in Executable Code can only be distributed (i) in Executable Code, and (ii) subject to a license agreement that prohibits reverse engineering, decompiling or disassembly of those Redistributables;
50
51(3) This distribution right includes a limited right to sublicense only the Intel copyrights in the Redistributables and only to the extent necessary to perform, display, and distribute the Redistributables (including Your modifications and Derivative Works of the Redistributables provided in Source Code) solely as incorporated in Your Product; and
52
53(4) You: (i) will be solely responsible to Your customers for any update, support obligation or other obligation or liability which may arise from the distribution of Your Product, (ii) will not make any statement that Your Product is "certified" or that its performance is guaranteed by Intel or its suppliers, (iii) will not use Intel's or its suppliers' names or trademarks to market Your Product, (iv) will comply with any additional restrictions which are included in the text files with the Redistributables and in Section 3 below, (v) will indemnify, hold harmless, and defend Intel and its suppliers from and against any claims or lawsuits, costs, damages, and expenses, including attorney fees, that arise or result from (a) Your modifications or Derivative Works of the Materials or (b) Your distribution of Your Product.
54
552.2 Third Party Software. Third Party Software, even if included with the distribution of the Materials, may be governed by separate license terms, including without limitation, third party license terms, open source software notices and terms, and/or other Intel software license terms. These separate license terms solely govern Your use of the Third Party Software.
56
572.3 Third Party Use.
58
59A. If You are an entity, Your contractors may use the Materials under the license specified in Section 2, provided: (i) their use of the Materials is solely on behalf of and in support of Your business, (ii) they agree to the terms and conditions of this Agreement, and (iii) You are solely responsible for their use, misuse or disclosure of the Materials.
60
61B. You may utilize a Cloud Provider to host the Materials for You, provided: (i) the Cloud Provider may only host the Materials for Your exclusive use and may not use the Materials for any other purpose whatsoever, including the restriction set forth in Section 3.1(xi); (ii) the Cloud Provider's use of the Materials must be solely on behalf of and in support of Your Product, and (iii) You will indemnify, hold harmless, and defend Intel and its suppliers from and against any claims or lawsuits, costs, damages, and expenses, including attorneys' fees, that arise or result from Your Cloud Provider's use, misuse or disclosure of the Materials.
62
633. LICENSE CONDITIONS.
64
653.1 Restrictions. Except as expressly provided in this Agreement, You may NOT: (i) use, reproduce, disclose, distribute, or publicly display the Materials; (ii) share, publish, rent or lease the Materials to any third party; (iii) assign this Agreement or transfer the Materials; (iv) modify, adapt, alter, or translate the Materials in whole or in part, including during execution; (v) reverse engineer, decompile, or disassemble the Materials, or otherwise attempt to derive the Source Code or operation of the Materials; (vi) work around any technical limitations in the Materials; (vii) distribute, sublicense or transfer any Materials in Source Code, or modifications or Derivative Works of any Materials in Source Code, to any third party; (viii) remove, minimize, block or modify any notices of Intel or its suppliers in the Materials; (ix) include the Redistributables in malicious, deceptive, or unlawful programs or products or use the Materials in any way that is against the law; (x) modify, create a Derivative Work, link, or distribute the Materials so that any part of it becomes Reciprocal Open Source Software; (xi) use the Materials directly or indirectly for SaaS services or service bureau purposes (i.e., a service that allows use of or access to the Materials by a third party as part of that service, such as the salesforce.com service business model).
66
673.2 Pre-Release Materials. If You receive Pre-Release Materials, You may reproduce a reasonable number of copies and use the Pre-Release Materials for evaluation and testing purposes only. You may NOT (i) modify or incorporate the Pre-Release Materials into Your Product; (ii) continue to use the Pre-Release Materials once a production version is released; or (iii) disclose to any third party any benchmarks, performance results, or other information relating to the Pre-Release Materials. Intel may waive these restrictions in writing at its sole discretion; however, if You decide to use the Pre-Release Materials in Your Product (even with Intel's waiver), You acknowledge and agree that You are fully responsible for any and all issues that result from such use.
68
693.3 Safety-Critical, and Life-Saving Applications; Indemnity. The Materials may provide information relevant to safety-critical applications ("Safety-Critical Applications") to allow compliance with functional safety standards or requirements. You acknowledge and agree that safety is Your responsibility. To the extent You use the Materials to create, or as part of, products used in Safety-Critical Applications, it is Your responsibility to design, manage, and ensure that there are system-level safeguards to anticipate, monitor, and control system failures, and You agree that You are solely responsible for all applicable regulatory standards and safety-related requirements concerning Your use of the Materials in Safety Critical Applications. 
70
71Should You use the Materials for Safety-Critical Applications or in any type of a system or application in which the failure of the Materials could create a situation where personal injury or death may occur (e.g., medical systems, life-sustaining or life-saving systems) ("Life-Saving Applications"), You agree to indemnify, defend, and hold Intel and its representatives harmless against any claims or lawsuits, costs, damages, and expenses, including reasonable attorney fees, arising in any way out of Your use of the Materials in Safety-Critical Applications or Life-Saving Applications and claims of product liability, personal injury or death associated with those applications; even if such claims allege that Intel was negligent or strictly liable regarding the design or manufacture of the Materials or its failure to warn regarding the Materials.
72
733.4 Media Format Codecs and Digital Rights Management. You acknowledge and agree that Your use of the Materials or distribution of the Redistributables with Your Product as permitted by this Agreement may require You to procure license(s) from third parties that may hold intellectual property rights applicable to any media decoding, encoding or transcoding technology (e.g., the use of an audio or video codec) and/or digital rights management capabilities of the Materials, if any. Should any such additional licenses be required, You are solely responsible for obtaining any such licenses and agree to obtain any such licenses at Your own expense.
74
753.5 Use of GAI and AI.
76A. Use of GAI in Developing the Materials. Some Materials may have been developed using GAI. Intel's use of GAI, if any, in the development of Materials complied with the then-current industry practices and laws applicable to the use of GAI at the time of development.
77B. AI Features in the Materials. Some Materials may include or implement components, features, or functionality of AI technologies ("AI Features"). You can find more information about included AI Features in documentation accompanying the Materials. While Intel strives to ensure the quality, accuracy, and reliability of included AI Features, due to the nature of AI, such features and their output may contain inaccuracies, biases, and omissions. You are solely responsible for determining the fitness of the AI Features and their output for Your use cases, and for evaluating the accuracy and completeness of the output. Intel makes no warranty or representation as to the completeness, accuracy, or reliability of the AI Features, their output, or their suitability for any purpose.
78C. Using the Materials to Develop Your AI Applications. You may not use the Materials to develop an AI application ("Your AI Application") if the documentation accompanying the Materials prohibits such use. You can only use the Materials to develop Your AI Application in the absence of such prohibition and in accordance with standard industry practice and all applicable laws and regulations, and Your AI Application must not violate, or contribute to, the violation of an internationally recognized human right.
79D. GAI and AI Features in Third Party Software. Some Third Party Software may have been developed using GAI or may include or implement components, features, or functionality of AI Features. Intel does not take any responsibility for Third Party Software, how it may have been developed using GAI or any AI Features therein. You can find more information about Third Party Software use of GAI and AI Features in the documentation accompanying the Third Party Software.
80
814. DATA COLLECTION AND PRIVACY.
82
834.1 Data Collection. The Materials may collect anonymous data and/or optional data (which may include other anonymous and/or non-anonymous data) about the Materials and/or Your development environment and transmit that data to Intel; however, optional data will not be transmitted to Intel without Your permission. All data collection by Intel is performed pursuant to relevant privacy laws, including notice and consent requirements.
84
854.2 Intel's Privacy Notice. Intel is committed to respecting Your privacy. To learn more about Intel's privacy practices, please visit http://www.intel.com/privacy.
86
875. OWNERSHIP. Title to the Materials and all copies remain with Intel or its suppliers. The Materials are protected by intellectual property rights, including without limitation, United States copyright laws and international treaty provisions. You will not remove any copyright or other proprietary notices from the Materials. Except as expressly provided herein, no license or right is granted to You directly or by implication, inducement, estoppel or otherwise; specifically, Intel does not grant any express or implied right to You under Intel patents, copyrights, trademarks, or trade secrets.
88
896. NO WARRANTY AND NO SUPPORT.
90
916.1 No Warranty. Disclaimer. Intel disclaims all warranties of any kind and the terms and remedies provided in this Agreement are instead of any other warranty or condition, express, implied or statutory, including those regarding merchantability, fitness for any particular purpose, non-infringement or any warranty arising out of any course of dealing, usage of trade, proposal, specification or sample. Intel does not assume (and does not authorize any person to assume on its behalf) any liability.
92
936.2 No Support; Priority Support. Intel may make changes to the Materials, or to items referenced therein, at any time without notice, but is not obligated to support, update or provide training for the Materials under the terms of this Agreement. Intel offers free community and paid priority support options. More information on these support options can be found at: https://www.intel.com/content/www/us/en/developer/get-help/priority-support.html.
94
95
967. LIMITATION OF LIABILITY.
97
987.1 Intel will not be liable for any of the following losses or damages (whether such losses or damages were foreseen, foreseeable, known or otherwise): (i) loss of revenue; (ii) loss of actual or anticipated profits; (iii) loss of the use of money; (iv) loss of anticipated savings; (v) loss of business; (vi) loss of opportunity; (vii) loss of goodwill; (viii) loss of use of the Materials; (ix) loss of reputation; (x) loss of, damage to, or corruption of data; or (xi) any indirect, incidental, special or consequential loss of damage however caused (including loss or damage of the type specified in this Section 7).
99
1007.2 Intel's total cumulative liability to You, including for direct damages for claims relating to this Agreement, and whether for breach of contract, negligence, or for any other reason, will not exceed $100.
101
1027.3 You acknowledge that the limitations of liability provided in this Section 7 are an essential part of this Agreement. You agree that the limitations of liability provided in this Agreement with respect to Intel will be conveyed to and made binding upon any customer of Yours that acquires the Redistributables.
103
1048. USER SUBMISSIONS. Should you provide Intel with comments, modifications, corrections, enhancements or other input ("Feedback") related to the Materials, Intel will be free to use, disclose, reproduce, license or otherwise distribute or exploit the Feedback in its sole discretion without any obligations or restrictions of any kind, including without limitation, intellectual property rights or licensing obligations. If You wish to provide Intel with information that You intend to be treated as confidential information, Intel requires that such confidential information be provided pursuant to a non-disclosure agreement ("NDA"); please contact Your Intel representative to ensure the proper NDA is in place.
105
1069. NON-DISCLOSURE. Information provided by Intel to You may include information marked as confidential. You must treat such information as confidential under the terms of the applicable NDA between Intel and You. If You have not entered into an NDA with Intel, You must not disclose, distribute or make use of any information marked as confidential, except as expressly authorized in writing by Intel. Intel retains all rights in and to its confidential information specifications, designs, engineering details, discoveries, inventions, patents, copyrights, trademarks, trade secrets, and other proprietary rights relating to the Materials. Any breach by You of the confidentiality obligations provided for in this Section 9 will cause irreparable injury to Intel for which money damages may be inadequate to compensate Intel for losses arising from such a breach. Intel may obtain equitable relief, including injunctive relief, if You breach or threaten to breach Your confidentiality obligations.
107
10810. TERM AND TERMINATION. This Agreement becomes effective on the date You accept this Agreement and will continue until terminated as provided for in this Agreement. This Agreement will terminate immediately if You are in breach of any of its terms and conditions. The term for Pre-Release Materials terminates immediately upon release of a production version or at any time upon notice from Intel. Upon termination, You will promptly destroy the Materials and all copies. In the event of termination of this Agreement, Your license to any Redistributables distributed by You in accordance with the terms and conditions of this Agreement, prior to the effective date of such termination, will survive any such termination of this Agreement. Sections 1, 2.1.D(4)(v), 2.2, 2.3.A(iii), 2.3.B(iii), 3.3, 3.5.B (last sentence), 5, 6, 7, 8, 9, 10 (with respect to these survival provisions in the last sentence), and 12 will survive expiration or termination of this Agreement.
109
11011. U.S. GOVERNMENT RESTRICTED RIGHTS. The technical data and computer software covered by this license is a "Commercial Item," as such term is defined by the FAR 2.101 (48 C.F.R. 2.101) and is "commercial computer software" and "commercial computer software documentation" as specified under FAR 12.212 (48 C.F.R. 12.212) or DFARS 227.7202 (48 C.F.R. 227.7202), as applicable. This commercial computer software and related documentation is provided to end users for use by and on behalf of the U.S. Government with only those rights as are granted to all other end users pursuant to the terms and conditions of this Agreement.
111
11212. GENERAL PROVISIONS.
113
11412.1 ENTIRE AGREEMENT. This Agreement contains the complete and exclusive agreement and understanding between the parties concerning the subject matter of this Agreement, and supersedes all prior and contemporaneous proposals, agreements, understanding, negotiations, representations, warranties, conditions, and communications, oral or written, between the parties relating to the same subject matter. Each party acknowledges and agrees that in entering into this Agreement it has not relied on, and will not be entitled to rely on, any oral or written representations, warranties, conditions, understanding, or communications between the parties that are not expressly set forth in this Agreement. The express provisions of this Agreement control over any course of performance, course of dealing, or usage of the trade inconsistent with any of the provisions of this Agreement. The provisions of this Agreement will prevail notwithstanding any different, conflicting, or additional provisions that may appear on any purchase order, acknowledgement, invoice, or other writing issued by either party in connection with this Agreement. No modification or amendment to this Agreement will be effective unless in writing and signed by authorized representatives of each party, and must specifically identify this Agreement by its title and version (e.g., "Intel End User License Agreement for Developer Tools (Version August 2024)"). If You received a copy of this Agreement translated into another language, the English language version of this Agreement will prevail in the event of any conflict between versions.
115
11612.2 TRADE COMPLIANCE. You must comply with all applicable laws and regulations of the U.S. and other countries governing the export, re-export, import, transfer, distribution, use, and servicing ("Export") of the Materials and all related materials provided by Intel. In particular, but without limitation, You must not, without first obtaining all authorizations required by all applicable laws and regulations, Export Materials or any related materials (a) to any prohibited or restricted entity or country; or (b) for the development, design, manufacture, or production of nuclear, missile, chemical, or biological weapons, or for any other purpose prohibited by all applicable governments. Upon Intel's request, You will provide export classifications for all Materials and technical data. Intel will not be obligated to perform any of its obligations under this Agreement if performance would result in violation of any applicable trade or sanctions controls or restrictions. No failure or delay on the part of Intel to exercise any right under this clause will operate as a waiver of this clause.
117
11812.3 GOVERNING LAW, JURISDICTION, AND VENUE. All disputes arising out of or related to this Agreement, whether based on contract, tort, or any other legal or equitable theory, will in all respects be governed by, and construed and interpreted under, the laws of the United States of America and the State of Delaware, without reference to conflict of laws principles. The parties agree that the United Nations Convention on Contracts for the International Sale of Goods (1980) is specifically excluded from and will not apply to this Agreement. All disputes arising out of or related to this Agreement, whether based on contract, tort, or any other legal or equitable theory, will be subject to the exclusive jurisdiction of the courts of the State of Delaware or of the Federal courts sitting in that State. Each party submits to the personal jurisdiction of those courts and waives all objections to that jurisdiction and venue for those disputes.
119
12012.4 SEVERABILITY. The parties intend that if a court holds that any provision or part of this Agreement is invalid or unenforceable under applicable law, the court will modify the provision to the minimum extent necessary to make it valid and enforceable, or if it cannot be made valid and enforceable, the parties intend that the court will sever and delete the provision or part from this Agreement. Any change to or deletion of a provision or part of this Agreement under this Section will not affect the validity or enforceability of the remainder of this Agreement, which will continue in full force and effect.
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/toolkit/intel-oneapi-toolkit_2026.0.0.198.bb b/dynamic-layers/clang-layer/recipes-oneapi/toolkit/intel-oneapi-toolkit_2026.0.0.198.bb
new file mode 100644
index 00000000..e7a8f0f3
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-oneapi/toolkit/intel-oneapi-toolkit_2026.0.0.198.bb
@@ -0,0 +1,320 @@
1SUMMARY = "Intel® oneAPI Toolkit (2026.0) - unified Base + HPC toolkit"
2DESCRIPTION = "The Intel® oneAPI Toolkit unifies the former Base and HPC \
3toolkits into a single bundle. It ships the DPC++/C++ compiler (icx, \
4icpx, dpcpp), Fortran compiler (ifx), DPC++ Compatibility Tool, Intel® \
5Distribution for GDB*, oneAPI DPC++ Library (oneDPL), oneAPI Threading \
6Building Blocks (oneTBB), oneAPI Math Kernel Library (oneMKL), oneAPI \
7Deep Neural Network Library (oneDNN), oneCCL, Intel® IPP, Intel® \
8Cryptography Primitives Library, and VTune Profiler. \
9\
10This recipe consumes the upstream offline self-extracting installer \
11(intel-oneapi-toolkit-${PV}_offline.sh) and unpacks it into the target \
12rootfs under /opt/intel/oneapi via Intel's silent installer. Each \
13component is split into its own sub-package (intel-oneapi-toolkit-\
14{compiler,runtime,mkl,tbb,dpl,debugger,ipp,ccl,vtune,onednn,common,\
15licensing}). \
16\
17Note: oneDAL is no longer included by Intel and must be installed \
18separately."
19
20HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/oneapi-toolkit-download.html"
21
22LICENSE = "EULA"
23LIC_FILES_CHKSUM = "\
24 file://license.txt;md5=cff4e57efd53801fcdfcb4c8aead1245 \
25"
26
27# Self-extracting installer; treat as opaque blob (no auto-unpack).
28SRC_URI = " \
29 https://registrationcenter-download.intel.com/akdlm/IRC_NAS/71180075-e4e3-4c6f-bbbb-19017ed0cf7d/intel-oneapi-toolkit-${PV}_offline.sh;unpack=0;name=installer \
30 file://license.txt \
31"
32SRC_URI[installer.sha256sum] = "155a52896bd24239ddc733f487eccb2af5cad9957eed1e2bfe60ce1453694e5b"
33
34S = "${UNPACKDIR}"
35
36inherit bin_package
37
38B = "${WORKDIR}/build"
39
40INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
41INHIBIT_SYSROOT_STRIP = "1"
42SKIP_FILEDEPS:${PN} = "1"
43SKIP_FILEDEPS:${PN}-runtime = "1"
44SKIP_FILEDEPS:${PN}-compiler = "1"
45SKIP_FILEDEPS:${PN}-common = "1"
46SKIP_FILEDEPS:${PN}-licensing = "1"
47SKIP_FILEDEPS:${PN}-mkl = "1"
48SKIP_FILEDEPS:${PN}-mkl-sycl = "1"
49SKIP_FILEDEPS:${PN}-mkl-staticdev = "1"
50SKIP_FILEDEPS:${PN}-mkl-dev = "1"
51SKIP_FILEDEPS:${PN}-tbb = "1"
52SKIP_FILEDEPS:${PN}-dpl = "1"
53SKIP_FILEDEPS:${PN}-debugger = "1"
54SKIP_FILEDEPS:${PN}-ipp = "1"
55SKIP_FILEDEPS:${PN}-ipp-staticdev = "1"
56SKIP_FILEDEPS:${PN}-ipp-dev = "1"
57SKIP_FILEDEPS:${PN}-ccl = "1"
58SKIP_FILEDEPS:${PN}-vtune = "1"
59SKIP_FILEDEPS:${PN}-onednn = "1"
60
61# dev-deps is set on the meta-package and -common because the umbrella
62# RDEPENDS pulls the -mkl-dev / -ipp-dev sub-packages so a single
63# IMAGE_INSTALL of intel-oneapi-toolkit still ships the full SDK.
64ONEAPI_INSANE = "textrel dev-so dev-elf ldflags already-stripped staticdev rpaths arch useless-rpaths file-rdeps libdir buildpaths host-user-contaminated installed-vs-shipped 32bit-time dev-deps"
65INSANE_SKIP:${PN} += "${ONEAPI_INSANE}"
66INSANE_SKIP:${PN}-runtime += "${ONEAPI_INSANE}"
67INSANE_SKIP:${PN}-compiler += "${ONEAPI_INSANE}"
68INSANE_SKIP:${PN}-common += "${ONEAPI_INSANE}"
69INSANE_SKIP:${PN}-licensing += "${ONEAPI_INSANE}"
70INSANE_SKIP:${PN}-mkl += "${ONEAPI_INSANE}"
71INSANE_SKIP:${PN}-mkl-sycl += "${ONEAPI_INSANE}"
72INSANE_SKIP:${PN}-mkl-staticdev += "${ONEAPI_INSANE}"
73INSANE_SKIP:${PN}-mkl-dev += "${ONEAPI_INSANE}"
74INSANE_SKIP:${PN}-tbb += "${ONEAPI_INSANE}"
75INSANE_SKIP:${PN}-dpl += "${ONEAPI_INSANE}"
76INSANE_SKIP:${PN}-debugger += "${ONEAPI_INSANE}"
77INSANE_SKIP:${PN}-ipp += "${ONEAPI_INSANE}"
78INSANE_SKIP:${PN}-ipp-staticdev += "${ONEAPI_INSANE}"
79INSANE_SKIP:${PN}-ipp-dev += "${ONEAPI_INSANE}"
80INSANE_SKIP:${PN}-ccl += "${ONEAPI_INSANE}"
81INSANE_SKIP:${PN}-vtune += "${ONEAPI_INSANE}"
82INSANE_SKIP:${PN}-onednn += "${ONEAPI_INSANE}"
83
84FILES_SOLIBSDEV = ""
85EXCLUDE_FROM_SHLIBS = "1"
86PACKAGE_DEBUG_FLAGS = ""
87
88# Versions of components used in do_install runtime registration.
89# (Component sub-directories are matched by name in FILES, so per-component
90# version variables are not needed.)
91COMPILERMAINVER = "2026.0"
92
93ONEAPI_INSTALLER = "${S}/intel-oneapi-toolkit-${PV}_offline.sh"
94ONEAPI_STAGE = "${B}/oneapi-staging"
95
96# do_unpack_vendor runs without pseudo. ${B} (B = ${WORKDIR}/build) is a
97# sibling of ${T}, so the installer's cleanup never reaches the fifo.
98do_unpack_vendor() {
99 rm -rf "${ONEAPI_STAGE}"
100 install -d "${ONEAPI_STAGE}/opt/intel/oneapi"
101
102 # WARNING: never reference ${HOME} or ${TMPDIR} as bitbake-expanded
103 # variables inside this function — bitbake expands them at parse
104 # time to the build host's real values, and a later `rm -rf` would
105 # nuke the developer's home directory. Use plain shell locals only.
106 oneapi_home="${B}/oneapi-installer-home"
107 oneapi_tmp="${B}/oneapi-installer-tmp"
108 oneapi_extract="${B}/oneapi-installer-extract"
109 rm -rf "$oneapi_home" "$oneapi_tmp" "$oneapi_extract"
110 install -d "$oneapi_home" "$oneapi_tmp" "$oneapi_extract"
111
112 # The installer needs a writable HOME and TMPDIR.
113 export HOME="$oneapi_home"
114 export TMPDIR="$oneapi_tmp"
115
116 cd "$oneapi_extract"
117
118 bash ${ONEAPI_INSTALLER} \
119 --extract-folder "$oneapi_extract" \
120 --remove-extracted-files no \
121 -a --silent --eula accept \
122 --install-dir "${ONEAPI_STAGE}/opt/intel/oneapi" \
123 --log-dir "$oneapi_tmp" \
124 --intel-sw-improvement-program-consent decline
125
126 # Free the makeself extraction tree once the install completed.
127 rm -rf "$oneapi_extract" "$oneapi_home" "$oneapi_tmp"
128
129 # Rewrite any absolute build-time paths the installer baked into
130 # generated wrapper scripts so the on-target tree is self-contained.
131 find "${ONEAPI_STAGE}/opt/intel/oneapi" -type f \
132 \( -name '*.sh' -o -name '*.cfg' -o -name 'modulefiles-setup.sh' \) \
133 -exec sed -i "s|${ONEAPI_STAGE}/opt/intel/oneapi|/opt/intel/oneapi|g" {} +
134}
135do_unpack_vendor[network] = "0"
136do_unpack_vendor[cleandirs] = "${B}"
137addtask unpack_vendor after do_patch before do_install
138
139do_install() {
140 install -d ${D}
141 cp -a ${ONEAPI_STAGE}/. ${D}/
142
143 # The vendor installer in do_unpack_vendor runs outside pseudo, so
144 # all staged files inherit the build host's uid/gid. Reset ownership
145 # to root:root under pseudo to avoid host-contamination QA failures
146 # ("getpwuid(): uid not found ...") in do_package.
147 chown -R 0:0 ${D}
148
149 # Drop the installer's transient log directory (build-time noise).
150 rm -rf ${D}/opt/intel/oneapi/logs
151
152 # Auto-register the Intel CPU OpenCL runtime as an ICD.
153 install -d ${D}${sysconfdir}/OpenCL/vendors
154 cpu_icd="/opt/intel/oneapi/compiler/${COMPILERMAINVER}/lib/libintelocl.so"
155 if [ -e "${D}${cpu_icd}" ]; then
156 echo "${cpu_icd}" > ${D}${sysconfdir}/OpenCL/vendors/intel-cpu.icd
157 fi
158
159 # libxml2.so.2 SONAME compat shim (oe-core ships libxml2 3.x = .so.16).
160 install -d ${D}${libdir}
161 if [ ! -e ${D}${libdir}/libxml2.so.2 ]; then
162 ln -s libxml2.so.16 ${D}${libdir}/libxml2.so.2
163 fi
164}
165
166SYSROOT_DIRS += "/opt"
167
168# Sub-packages. Order matters in PACKAGES — first-match wins for FILES
169# patterns, so put specific component packages before the catch-all ${PN}.
170# Within a component, list the more specific sub-subpackages (-sycl,
171# -staticdev, -dev) before the component's own catch-all so the
172# heavyweight bits land in their dedicated package and not in the
173# default runtime package.
174PACKAGES =+ " \
175 ${PN}-runtime \
176 ${PN}-compiler \
177 ${PN}-mkl-sycl \
178 ${PN}-mkl-staticdev \
179 ${PN}-mkl-dev \
180 ${PN}-mkl \
181 ${PN}-tbb \
182 ${PN}-dpl \
183 ${PN}-debugger \
184 ${PN}-ipp-staticdev \
185 ${PN}-ipp-dev \
186 ${PN}-ipp \
187 ${PN}-ccl \
188 ${PN}-vtune \
189 ${PN}-onednn \
190 ${PN}-licensing \
191 ${PN}-common \
192"
193
194FILES:${PN}-licensing = "/opt/intel/oneapi/licensing"
195FILES:${PN}-common = " \
196 /opt/intel/oneapi/setvars.sh \
197 /opt/intel/oneapi/modulefiles-setup.sh \
198 /opt/intel/oneapi/support.txt \
199 /opt/intel/oneapi/common \
200 /opt/intel/oneapi/2026.0 \
201 /opt/intel/oneapi/oneapi-toolkit \
202"
203FILES:${PN}-onednn = "/opt/intel/oneapi/dnnl"
204FILES:${PN}-tbb = "/opt/intel/oneapi/tbb"
205FILES:${PN}-dpl = "/opt/intel/oneapi/dpl"
206# MKL is split four ways. Order in PACKAGES above ensures the specific
207# patterns match before the catch-all /opt/intel/oneapi/mkl.
208#
209# -mkl-sycl GPU/SYCL offload libraries (~470 MB)
210# -mkl-staticdev Static archives, lib/intel64/*.a (~900 MB)
211# -mkl-dev Headers, cmake/pkgconfig modules, share/ examples
212# -mkl CPU runtime shared libs + env/etc/bin + symlinks
213FILES:${PN}-mkl-sycl = "/opt/intel/oneapi/mkl/[0-9]*/lib/libmkl_sycl*"
214FILES:${PN}-mkl-staticdev = "/opt/intel/oneapi/mkl/[0-9]*/lib/*.a"
215FILES:${PN}-mkl-dev = " \
216 /opt/intel/oneapi/mkl/[0-9]*/include \
217 /opt/intel/oneapi/mkl/[0-9]*/lib/cmake \
218 /opt/intel/oneapi/mkl/[0-9]*/lib/pkgconfig \
219 /opt/intel/oneapi/mkl/[0-9]*/share \
220"
221FILES:${PN}-mkl = "/opt/intel/oneapi/mkl"
222FILES:${PN}-debugger = "/opt/intel/oneapi/debugger"
223# IPP is split three ways. ippcp (Cryptography Primitives) is bundled
224# with ipp in this distribution and shares the same split policy.
225#
226# -ipp-staticdev Static archives, lib/intel64/*.a (~560 MB)
227# -ipp-dev Headers, cmake/pkgconfig modules, share/ examples
228# -ipp Runtime shared libs + env/etc/bin + symlinks
229FILES:${PN}-ipp-staticdev = " \
230 /opt/intel/oneapi/ipp/[0-9]*/lib/*.a \
231 /opt/intel/oneapi/ippcp/[0-9]*/lib/*.a \
232"
233FILES:${PN}-ipp-dev = " \
234 /opt/intel/oneapi/ipp/[0-9]*/include \
235 /opt/intel/oneapi/ipp/[0-9]*/lib/cmake \
236 /opt/intel/oneapi/ipp/[0-9]*/lib/pkgconfig \
237 /opt/intel/oneapi/ipp/[0-9]*/share \
238 /opt/intel/oneapi/ippcp/[0-9]*/include \
239 /opt/intel/oneapi/ippcp/[0-9]*/lib/cmake \
240 /opt/intel/oneapi/ippcp/[0-9]*/lib/pkgconfig \
241 /opt/intel/oneapi/ippcp/[0-9]*/share \
242"
243FILES:${PN}-ipp = " \
244 /opt/intel/oneapi/ipp \
245 /opt/intel/oneapi/ippcp \
246"
247FILES:${PN}-ccl = "/opt/intel/oneapi/ccl"
248FILES:${PN}-vtune = "/opt/intel/oneapi/vtune"
249FILES:${PN}-compiler = " \
250 /opt/intel/oneapi/compiler \
251 /opt/intel/oneapi/dev-utilities \
252 /opt/intel/oneapi/tcm \
253 /opt/intel/oneapi/umf \
254 /opt/intel/oneapi/mpi \
255"
256FILES:${PN}-runtime = " \
257 ${sysconfdir}/OpenCL/vendors/intel-cpu.icd \
258 ${libdir}/libxml2.so.2 \
259"
260
261# Inter-package dependencies.
262#
263# Hard RDEPENDS are intentionally minimal -- only the link/load-time
264# closure the dynamic linker will demand at runtime. This lets a
265# consumer install a single subpackage (e.g. intel-oneapi-toolkit-mkl
266# for PyTorch CPU BLAS) without dragging in the full bundle.
267#
268# * -common : setvars.sh / modulefiles / version-umbrella dirs.
269# Required only when the consumer sources env/vars.sh;
270# apps that link the .so files directly do not need it.
271# * -runtime : OpenCL/Level Zero ICD shim + libxml2 SONAME compat.
272# Required only for SYCL/GPU offload paths. Pure CPU
273# MKL/IPP/oneDNN do not need it.
274# * -licensing : EULA text (~1 MB). Kept on every binary subpackage.
275# * -tbb : oneTBB shared library. Required by every component
276# whose libraries link -ltbb (mkl, compiler, onednn).
277RDEPENDS:${PN}-licensing += ""
278RDEPENDS:${PN}-common += "${PN}-licensing"
279RDEPENDS:${PN}-runtime += "virtual-opencl-icd zlib level-zero-loader bash libxml2 ${PN}-licensing"
280RDEPENDS:${PN}-tbb += "${PN}-licensing"
281RDEPENDS:${PN}-dpl += "${PN}-licensing"
282RDEPENDS:${PN}-debugger += "${PN}-licensing"
283RDEPENDS:${PN}-ipp += "${PN}-licensing"
284RDEPENDS:${PN}-ipp-dev += "${PN}-ipp"
285RDEPENDS:${PN}-ipp-staticdev += "${PN}-ipp-dev"
286RDEPENDS:${PN}-vtune += "${PN}-licensing"
287RDEPENDS:${PN}-mkl += "${PN}-tbb ${PN}-licensing"
288RDEPENDS:${PN}-mkl-sycl += "${PN}-mkl ${PN}-runtime"
289RDEPENDS:${PN}-mkl-dev += "${PN}-mkl"
290RDEPENDS:${PN}-mkl-staticdev += "${PN}-mkl-dev"
291RDEPENDS:${PN}-onednn += "${PN}-tbb ${PN}-licensing"
292RDEPENDS:${PN}-compiler += "${PN}-runtime ${PN}-common ${PN}-tbb ${PN}-licensing"
293RDEPENDS:${PN}-ccl += "${PN}-runtime ${PN}-licensing"
294
295# Top-level meta package pulls in the full bundle, including the
296# heavyweight optional pieces (SYCL/GPU offload libs, static archives
297# and development headers) so that "IMAGE_INSTALL += intel-oneapi-toolkit"
298# behaves like the legacy single-package install.
299RDEPENDS:${PN} = " \
300 ${PN}-compiler \
301 ${PN}-runtime \
302 ${PN}-mkl \
303 ${PN}-mkl-sycl \
304 ${PN}-mkl-staticdev \
305 ${PN}-mkl-dev \
306 ${PN}-tbb \
307 ${PN}-dpl \
308 ${PN}-debugger \
309 ${PN}-ipp \
310 ${PN}-ipp-staticdev \
311 ${PN}-ipp-dev \
312 ${PN}-ccl \
313 ${PN}-vtune \
314 ${PN}-onednn \
315 ${PN}-common \
316 ${PN}-licensing \
317"
318
319# This bundle is amd64-only.
320COMPATIBLE_HOST = "x86_64.*-linux"
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0004-refactor-use-std-numeric_limits-to-get-max-value.patch b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0004-refactor-use-std-numeric_limits-to-get-max-value.patch
new file mode 100644
index 00000000..2d857c6b
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0004-refactor-use-std-numeric_limits-to-get-max-value.patch
@@ -0,0 +1,107 @@
1From 3e7b32bf2d6042314772249532e80517e9126bc5 Mon Sep 17 00:00:00 2001
2From: Bartosz Dunajski <bartosz.dunajski@intel.com>
3Date: Wed, 7 Jan 2026 08:11:57 +0000
4Subject: [PATCH] refactor: use std::numeric_limits to get max value
5
6Newer GCC (16.x) no longer pulls in <climits> transitively, so the use
7of ULONG_MAX failed to build. Upstream replaced ULONG_MAX with
8std::numeric_limits<uint64_t>::max(), which removes the dependency on
9the macro entirely. Backported verbatim to fix the build on the pinned
10releases/25.48 branch.
11
12Upstream-Status: Backport [https://github.com/intel/compute-runtime/commit/3e7b32bf2d6042314772249532e80517e9126bc5]
13
14Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
15Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
16---
17 shared/source/os_interface/linux/pmt_util.cpp | 9 ++++-----
18 .../linux/product_helper_uuid_xehp_and_later.inl | 4 ++--
19 shared/source/xe_hpc_core/linux/product_helper_pvc.cpp | 4 +++-
20 3 files changed, 9 insertions(+), 8 deletions(-)
21
22diff --git a/shared/source/os_interface/linux/pmt_util.cpp b/shared/source/os_interface/linux/pmt_util.cpp
23index 1f8546afb8e17..6ac63aa99a400 100644
24--- a/shared/source/os_interface/linux/pmt_util.cpp
25+++ b/shared/source/os_interface/linux/pmt_util.cpp
26@@ -1,5 +1,5 @@
27 /*
28- * Copyright (C) 2021-2023 Intel Corporation
29+ * Copyright (C) 2021-2026 Intel Corporation
30 *
31 * SPDX-License-Identifier: MIT
32 *
33@@ -11,12 +11,11 @@
34 #include "shared/source/os_interface/linux/sys_calls.h"
35 #include "shared/source/utilities/directory.h"
36
37-#include <climits>
38-
39 #include <algorithm>
40 #include <array>
41 #include <cstdint>
42 #include <fcntl.h>
43+#include <limits>
44 #include <map>
45 #include <sstream>
46 #include <string_view>
47@@ -75,7 +74,7 @@ bool PmtUtil::readOffset(std::string_view telemDir, uint64_t &offset) {
48 ssize_t bytesRead = 0;
49 std::array<char, 16> offsetString = {'\0'};
50 if (fd > 0) {
51- offset = ULONG_MAX;
52+ offset = std::numeric_limits<uint64_t>::max();
53 bytesRead = SysCalls::pread(fd, offsetString.data(), offsetString.size() - 1, 0);
54 }
55 if (bytesRead <= 0) {
56@@ -85,7 +84,7 @@ bool PmtUtil::readOffset(std::string_view telemDir, uint64_t &offset) {
57 std::replace(offsetString.begin(), offsetString.end(), '\n', '\0');
58 offset = std::strtoul(offsetString.data(), nullptr, 10);
59
60- if (offset == ULONG_MAX) {
61+ if (offset == std::numeric_limits<uint64_t>::max()) {
62 return false;
63 }
64 return true;
65diff --git a/shared/source/os_interface/linux/product_helper_uuid_xehp_and_later.inl b/shared/source/os_interface/linux/product_helper_uuid_xehp_and_later.inl
66index d2187052db709..cd940cd149b41 100644
67--- a/shared/source/os_interface/linux/product_helper_uuid_xehp_and_later.inl
68+++ b/shared/source/os_interface/linux/product_helper_uuid_xehp_and_later.inl
69@@ -1,5 +1,5 @@
70 /*
71- * Copyright (C) 2021-2025 Intel Corporation
72+ * Copyright (C) 2021-2026 Intel Corporation
73 *
74 * SPDX-License-Identifier: MIT
75 *
76@@ -37,7 +37,7 @@ bool ProductHelperHw<gfxProduct>::getUuid(DriverModel *driverModel, const uint32
77 return false;
78 }
79
80- uint64_t offset = ULONG_MAX;
81+ uint64_t offset = std::numeric_limits<uint64_t>::max();
82 if (!PmtUtil::readOffset(telemDir, offset)) {
83 return false;
84 }
85diff --git a/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp b/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp
86index 6451de9b4f6a6..8ea0239c7ef90 100644
87--- a/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp
88+++ b/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp
89@@ -1,5 +1,5 @@
90 /*
91- * Copyright (C) 2021-2025 Intel Corporation
92+ * Copyright (C) 2021-2026 Intel Corporation
93 *
94 * SPDX-License-Identifier: MIT
95 *
96@@ -18,6 +18,8 @@
97 #include "shared/source/utilities/directory.h"
98 #include "shared/source/xe_hpc_core/hw_cmds_pvc.h"
99
100+#include <limits>
101+
102 constexpr static auto gfxProduct = IGFX_PVC;
103
104 namespace NEO {
105--
1062.34.1
107
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0005-include-cstdint-for-drm-tip-helper.patch b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0005-include-cstdint-for-drm-tip-helper.patch
new file mode 100644
index 00000000..5aed9c60
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0005-include-cstdint-for-drm-tip-helper.patch
@@ -0,0 +1,30 @@
1From 1c113f79f6ad9c6a2f943ea7e5f82f81de98b739 Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Mon, 9 Jun 2026 12:05:00 +0000
4Subject: [PATCH] include cstdint for drm tip helper
5
6Fixes compile failure where fixed-width integer types are used without
7including <cstdint> in drm_tip_helper.cpp.
8
9This is only required on the pinned releases/25.48 branch. Upstream
10removed this file entirely when deprecating DG1 support, so there is no
11upstream change to submit:
12 873fbd09c38dba9416b62526fa601d1ffe480142
13 ("refactor: Remove deprecated code for DG1")
14
15Upstream-Status: Inappropriate [file removed upstream in 873fbd09c38d; needed only on releases/25.48]
16
17Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
18---
19 .../source/os_interface/linux/local/dg1/drm_tip_helper.cpp | 1 +
20 1 file changed, 1 insertion(+)
21
22Index: intel-compute-runtime-25.48.36300.8/shared/source/os_interface/linux/local/dg1/drm_tip_helper.cpp
23===================================================================
24--- intel-compute-runtime-25.48.36300.8.orig/shared/source/os_interface/linux/local/dg1/drm_tip_helper.cpp
25+++ intel-compute-runtime-25.48.36300.8/shared/source/os_interface/linux/local/dg1/drm_tip_helper.cpp
26@@ -10,1 +10,2 @@
27-#include <memory>
28+#include <cstdint>
29+#include <memory>
30
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0006-test-excludes-include-cstdint.patch b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0006-test-excludes-include-cstdint.patch
new file mode 100644
index 00000000..278f1e13
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime/0006-test-excludes-include-cstdint.patch
@@ -0,0 +1,32 @@
1From c6f4f71684d40f96f0f401ecf5f873fc855b9231 Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Tue, 10 Jun 2026 00:00:00 +0000
4Subject: [PATCH] test excludes include cstdint
5
6Fixes compile failure in shared test helper where uint32_t is used
7without including <cstdint>.
8
9Upstream already added this include on master; backported here for the
10pinned releases/25.48 branch:
11 d682c49ef1c9782873ed3c7684e6a07180531b48
12 ("test: add more missing headers for GCC 15")
13
14Upstream-Status: Backport [https://github.com/intel/compute-runtime/commit/d682c49ef1c9782873ed3c7684e6a07180531b48]
15
16Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
17---
18 .../shared/test/common/test_macros/test_excludes.cpp | 1 +
19 1 file changed, 1 insertion(+)
20
21Index: intel-compute-runtime-25.48.36300.8/shared/test/common/test_macros/test_excludes.cpp
22===================================================================
23--- intel-compute-runtime-25.48.36300.8.orig/shared/test/common/test_macros/test_excludes.cpp
24+++ intel-compute-runtime-25.48.36300.8/shared/test/common/test_macros/test_excludes.cpp
25@@ -12,6 +12,7 @@
26 #include <map>
27 #include <memory>
28 #include <string>
29+#include <cstdint>
30 #include <unordered_set>
31
32 using namespace NEO;
diff --git a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.48.36300.8.bb b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.48.36300.8.bb
index c1209e33..de8ecaa4 100644
--- a/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.48.36300.8.bb
+++ b/dynamic-layers/clang-layer/recipes-opencl/compute-runtime/intel-compute-runtime_25.48.36300.8.bb
@@ -11,6 +11,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eca6ec6997e18db166db7109cdbe611c \
11SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https;branch=releases/25.48 \ 11SRC_URI = "git://github.com/intel/compute-runtime.git;protocol=https;branch=releases/25.48 \
12 file://0002-Build-not-able-to-locate-cpp_generation_tool.patch \ 12 file://0002-Build-not-able-to-locate-cpp_generation_tool.patch \
13 file://0003-external-ocloc.patch \ 13 file://0003-external-ocloc.patch \
14 file://0004-refactor-use-std-numeric_limits-to-get-max-value.patch \
15 file://0005-include-cstdint-for-drm-tip-helper.patch \
16 file://0006-test-excludes-include-cstdint.patch \
14 " 17 "
15 18
16SRCREV = "762b34beb3f6991e57d1562f587ab91ff220d708" 19SRCREV = "762b34beb3f6991e57d1562f587ab91ff220d708"
@@ -42,6 +45,10 @@ EXTRA_OECMAKE:append:class-target = " \
42 -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \ 45 -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \
43 " 46 "
44 47
48# Newer compilers emit -Wsfinae-incomplete in templates included by image.cpp/task_information.cpp.
49# Keep -Werror globally but do not fail on this single warning class.
50CXXFLAGS:append = " -Wno-error=sfinae-incomplete"
51
45PACKAGECONFIG ??= "" 52PACKAGECONFIG ??= ""
46PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero" 53PACKAGECONFIG[levelzero] = "-DBUILD_WITH_L0=ON, -DBUILD_WITH_L0=OFF, level-zero"
47 54
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb
deleted file mode 100644
index d10f50f9..00000000
--- a/dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1DESCRIPTION = "Intel® Integrated Performance Primitives are production-ready \
2 building blocks for cross-platform performance. Develop high-performance vision, \
3 signal, security, and storage applications with this multithreaded software library."
4HOMEPAGE = "https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/ipp.html"
5
6LICENSE = "ISSL"
7
8MAXVER = "2021.10"
9
10LIC_FILES_CHKSUM = " \
11 file://opt/intel/oneapi/ipp/${MAXVER}/share/doc/ipp/licensing/license.txt;md5=d7cdc92ed6c4de1263da879599ddc3e2 \
12 file://opt/intel/oneapi/ipp/${MAXVER}/share/doc/ipp/licensing/third-party-programs.txt;md5=22bd13987911dcf790907041b43081f3 \
13 "
14SRC_URI = " \
15 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-ipp-${MAXVER}-${PV}_amd64.deb;subdir=${BPN};name=ipp \
16 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-ipp-common-devel-${MAXVER}-${PV}_all.deb;subdir=${BPN};name=headers \
17 https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-ipp-common-${MAXVER}-${PV}_all.deb;subdir=${BPN};name=env \
18 "
19
20SRC_URI[ipp.sha256sum] = "b51e45c6e691aa46c7136b0ab61f5abe346388433e017a30cf53fd23e92bea07"
21SRC_URI[headers.sha256sum] = "342f37ab2f82bc9f4498435f848ee660591c2488b44d988bf6ee96b2a71fd005"
22SRC_URI[env.sha256sum] = "731e8c28a3b8b757730cd874d0941de2eb744856128f24ade59d36c12b415bf6"
23
24S = "${UNPACKDIR}/${BPN}"
25
26COMPATIBLE_HOST:libc-musl = "null"
27
28inherit bin_package
29
30INHIBIT_PACKAGE_STRIP = "1"
31INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
32INHIBIT_DEFAULT_DEPS = ""
33
34RDEPENDS:${PN} += "tbb setup-intel-oneapi-env"
35INSANE_SKIP:${PN} += "ldflags dev-so"
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/files/intel-oneapi-runtime.conf b/dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/files/intel-oneapi-runtime.conf
deleted file mode 100644
index 5faf9854..00000000
--- a/dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/files/intel-oneapi-runtime.conf
+++ /dev/null
@@ -1,4 +0,0 @@
1/opt/intel/oneapi/lib
2/opt/intel/oneapi/lib/intel64
3/opt/intel/oneapi/lib/ia32
4/opt/intel/oneapi/lib/emu
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb
deleted file mode 100644
index cc43c972..00000000
--- a/dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1SUMMARY = "Intel® oneAPI runtime libraries environment set up"
2DESCRIPTION = "Recipe to set up the environment for Intel® oneAPI runtime libraries \
3via configuration file in ld.so.conf.d directory."
4
5LICENSE = "EULA"
6LIC_FILES_CHKSUM = "file://${CUSTOM_LICENSES_PATH}/EULA;md5=7bfc91523de2e84e7131d0eacf2827d4"
7
8SRC_URI = "file://intel-oneapi-runtime.conf"
9
10S = "${UNPACKDIR}"
11
12do_install() {
13 mkdir -p ${D}${sysconfdir}/ld.so.conf.d/
14 install -m 644 ${S}/intel-oneapi-runtime.conf ${D}${sysconfdir}/ld.so.conf.d/
15}
16
17pkg_postinst_ontarget:${PN}() {
18if [ x"$D" = "x" ]; then
19 if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi
20fi
21}
22BBCLASSEXTEND = "native nativesdk"