From c5e8f190469d736ba3f4bf7e84b15bb2c274d3d1 Mon Sep 17 00:00:00 2001 From: Yogesh Tyagi Date: Wed, 29 Apr 2026 21:38:00 +0800 Subject: intel-oneapi: drop obsolete standalone component recipes Remove the per-component apt-package recipes superseded by the unified intel-oneapi-toolkit_2026.0.0.198.bb recipe, which packages the same components as sub-packages of a single offline installer (intel-oneapi-toolkit-{compiler,runtime,mkl,tbb,dpl,ipp,...}). Consumers should reference the canonical toolkit sub-package names directly. Recipes removed: * intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb * intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb * intel-oneapi-mkl_2024.0.0-49656.bb * intel-oneapi-ipp_2021.10.0-653.bb * setup-intel-oneapi-env_2023.0.0-25370.bb (and its intel-oneapi-runtime.conf helper) The setup-intel-oneapi-env helper installed a single ld.so.conf.d snippet pointing the dynamic loader at /opt/intel/oneapi/lib (and lib/intel64, lib/ia32, lib/emu). It dates back to the 2023.0 oneAPI layout. The unified toolkit installs libs under per-component directories such as /opt/intel/oneapi/{compiler,mkl, tbb,...}/2026.0/lib, not the flat /opt/intel/oneapi/lib that the conf file targets, so the ld.so.conf entries no longer point at real directories. Loadability of oneAPI binaries on the target is provided by: * setvars.sh / per-component env/vars.sh sourcing (the canonical Intel-supported entry point that every test and example uses) * $ORIGIN-relative RUNPATH baked into the shipped shared objects by the Intel installer * /etc/OpenCL/vendors/intel-cpu.icd written by the unified toolkit recipe's do_install for ICD loader discovery * virtual-opencl-icd / level-zero-loader RDEPENDS on intel-oneapi-toolkit-runtime for the OpenCL / Level Zero loaders The setup-intel-oneapi-env filename version (2023.0.0-25370) was a stale carry-over from when the recipe was first added; nothing in the recipe ever referenced ${PV}. Signed-off-by: Yogesh Tyagi --- ...ntel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb | 54 ---------------- .../intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb | 45 ------------- .../mkl/intel-oneapi-mkl_2024.0.0-49656.bb | 74 ---------------------- .../ipp/intel-oneapi-ipp_2021.10.0-653.bb | 35 ---------- .../files/intel-oneapi-runtime.conf | 4 -- .../setup-intel-oneapi-env_2023.0.0-25370.bb | 22 ------- 6 files changed, 234 deletions(-) delete mode 100644 dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb delete mode 100644 dynamic-layers/clang-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb delete mode 100644 dynamic-layers/clang-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb delete mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb delete mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/files/intel-oneapi-runtime.conf delete mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb 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 @@ -SUMMARY = "Intel® oneAPI DPC++/C++ Compiler runtime files" -DESCRIPTION = "The Intel® oneAPI DPC++/C++ Compiler provides optimizations \ -that help your applications run faster on Intel® 64 architectures with support \ -for the latest C, C++, and SYCL language standards. This compiler produces \ -optimized code that can run significantly faster by taking advantage of the \ -ever-increasing core count and vector register width in Intel® Xeon® processors \ -and compatible processors." - -HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html" - -LICENSE = "EULA" - -COMPILERMAINVER = "2024.0" - -LIC_FILES_CHKSUM = " \ - file://opt/intel/oneapi/licensing/${COMPILERMAINVER}/licensing/${COMPILERMAINVER}/license.htm;md5=5ff64c6ff3ef98089ed69360e7a84c39 \ - " -COMPILERDOTVER = "2024.0.0-49406" -DEVUTILITVERSION = "2024.0-2024.0.0-49320" -SRC_URI = " \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-dpcpp-cpp-runtime-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=dpcpp-runtime \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-dpcpp-cpp-common-${COMPILERMAINVER}-${PV}_all.deb;subdir=${BPN};name=dpcpp-common \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-shared-runtime-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=compiler-shared-runtime \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-common-vars-${COMPILERDOTVER}_all.deb;subdir=${BPN};name=common-vars \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-openmp-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=openmp \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-openmp-common-${COMPILERMAINVER}-${PV}_all.deb;subdir=${BPN};name=openmp-common \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-common-licensing-${COMPILERMAINVER}-${COMPILERDOTVER}_all.deb;subdir=${BPN};name=license \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-dev-utilities-${DEVUTILITVERSION}_amd64.deb;subdir=${BPN};name=dev-utils \ - " - -SRC_URI[dpcpp-runtime.sha256sum] = "e24f0ba69daf3f66ceaf23d5e632f183cdb90bac69f65407fdb4407fc9034f33" -SRC_URI[dpcpp-common.sha256sum] = "f5a3db6a725598224edf1099260955aee3e36beadcaed2af5b8b453e873a82fa" -SRC_URI[compiler-shared-runtime.sha256sum] = "bce010cbe076259ddd3feb8e69792869e22fccd5b4e2c9af9e815826f2c1a394" -SRC_URI[common-vars.sha256sum] = "368553c99db1b52060b8225355336778be0b00e5991d0f769c42f891c6328750" -SRC_URI[openmp.sha256sum] = "154ff1e81adfdc872ba1d47bd860de70d62188417c7128422435dfd0ceca62fe" -SRC_URI[openmp-common.sha256sum] = "8217001d78311cbef97dd139e684c6767932b532309c3843ba57d7894d15c07d" -SRC_URI[license.sha256sum] = "9f9c8a12fc0bc82ab5b71e118e66745eff23f42224eba304068225b366cd74b6" -SRC_URI[dev-utils.sha256sum] = "c675d960a5abca361cead9217d6e74adee499ee0a095c4e44092bd710b304d50" - -S = "${UNPACKDIR}/${BPN}" - -inherit bin_package - -RDEPENDS:${PN} += "virtual-opencl-icd zlib tbb level-zero-loader bash tcsh" -SKIP_FILEDEPS:${PN} = '1' - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -# doesn't have GNU_HASH (didn't pass LDFLAGS?) -INSANE_SKIP:${PN} += "textrel dev-so dev-elf ldflags already-stripped staticdev rpaths arch useless-rpaths file-rdeps" - -FILES_SOLIBSDEV = "" -BBCLASSEXTEND = "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 @@ -SUMMARY = "Intel® oneAPI DPC++/C++ Compiler" -DESCRIPTION = "The Intel® oneAPI DPC++/C++ Compiler provides optimizations \ -that help your applications run faster on Intel® 64 architectures with support \ -for the latest C, C++, and SYCL language standards. This compiler produces \ -optimized code that can run significantly faster by taking advantage of the \ -ever-increasing core count and vector register width in Intel® Xeon® processors \ -and compatible processors." - -HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html" - -LICENSE = "EULA" - -COMPILERMAINVER = "2024.0" - -LIC_FILES_CHKSUM = " \ - file://opt/intel/oneapi/compiler/${COMPILERMAINVER}/share/doc/compiler/credist.txt;md5=b41f55af9f479b9570fc35b955d5ba1a \ - " - -SRC_URI = " \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-dpcpp-cpp-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=icx-compiler \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-shared-${COMPILERMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=compiler-linker \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-compiler-shared-common-${COMPILERMAINVER}-${PV}_all.deb;subdir=${BPN};name=shared-common \ - " - -SRC_URI[icx-compiler.sha256sum] = "0dcbac766d5a1519d4cf393f5a85e71d19024fef65f77638f3f849796b62cd82" -SRC_URI[compiler-linker.sha256sum] = "e00faea6d797934d62143e4aa70b727ce30f80fdf30769d22122b3051140c236" -SRC_URI[shared-common.sha256sum] = "cf490a4a790f349da79e618359598d3b32312ca3b2639e5d4c84e1cfa2745558" - -S = "${UNPACKDIR}/${BPN}" - -inherit bin_package - -RDEPENDS:${PN} += "intel-oneapi-dpcpp-cpp-runtime" -SKIP_FILEDEPS:${PN} = '1' - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -# doesn't have GNU_HASH (didn't pass LDFLAGS?) -INSANE_SKIP:${PN} += "textrel dev-so dev-elf ldflags already-stripped file-rdeps staticdev rpaths arch useless-rpaths" - -FILES_SOLIBSDEV = "" - -EXCLUDE_FROM_SHLIBS = "1" -BBCLASSEXTEND = "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 @@ -SUMMARY = "Intel® oneAPI Math Kernel Library (oneMKL)" -DESCRIPTION = "The Intel® oneAPI Math Kernel Library (oneMKL) is a computing \ - math library of highly optimized and extensively parallelized routines \ - for applications that require maximum performance. oneMKL contains \ - the high-performance optimizations from the full Intel® Math Kernel Library \ - for CPU architectures (with C/Fortran programming language interfaces)\ - and adds to them a set of DPC++ programming language interfaces for \ - achieving performance on various CPU architectures \ - and Intel Graphics Technology for certain key functionalities." -HOMEPAGE = "https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl.html" - -LICENSE = "ISSL" - -MKLMAINVER = "2024.0" - -LIC_FILES_CHKSUM = " \ - file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/license.txt;md5=8510d21bf355a76e378c3216c3929ccd \ - file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs-benchmarks.txt;md5=cb98e1a1f14c05ea85a979ea8982e7a4 \ - file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs-ipp.txt;md5=a4b2bf15e38f5c1267cdafed18bc0b09 \ - file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs-openmp.txt;md5=6b3c1aa2a11393060074c0346ce21e49 \ - file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs-safestring.txt;md5=c3aeee91c6d35a0f0753aed6c2633b82 \ - file://opt/intel/oneapi/mkl/${MKLMAINVER}/share/doc/mkl/licensing/third-party-programs.txt;md5=27de873e4084d62530fe828406b33ca9 \ - " - -SRC_URI = " \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-${MKLMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=runtime \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-common-devel-${MKLMAINVER}-${PV}_all.deb;subdir=${BPN};name=common-devel \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-devel-${MKLMAINVER}-${PV}_amd64.deb;subdir=${BPN};name=devel \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-common-${MKLMAINVER}-${PV}_all.deb;subdir=${BPN};name=common-vars \ - " - -SRC_URI[runtime.sha256sum] = "10a86e24051d6ef4a80fd839c570e629190638a3c0ac9bcca99ab855f534b959" -SRC_URI[common-devel.sha256sum] = "adbf0ea946f63946d29b7f9c750c38a42ea7a65d8c81655b268aa2c7bb908192" -SRC_URI[devel.sha256sum] = "fab2a6f15e18bfd9b4d425f2703e4e98928c57f52c4feebc9ed886f097062e84" -SRC_URI[common-vars.sha256sum] = "ec2b67813739fa4a2895f63479a41acba2174afe2d0cb8a0c1c9119d1317d8ef" - -S = "${UNPACKDIR}/${BPN}" - -inherit bin_package - -do_install:append () { - install -d ${D}${bindir} - (cd ${D}${bindir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/bin/* .) - install -d ${D}${libdir} - (cd ${D}${libdir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/intel64/*.so* .) - (cd ${D}${libdir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/intel64/*.a* .) - install -d ${D}${libdir}/pkgconfig - (cd ${D}${libdir}/pkgconfig ; ln -s ../../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/pkgconfig/* .) - install -d ${D}${libdir}/cmake - (cd ${D}${libdir}/cmake ; ln -s ../../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/cmake/* .) - - install -d ${D}${includedir} - find ${D}/opt/intel/oneapi/mkl/${MKLMAINVER}/include/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | while read srcdir; do - install -d ${D}${includedir}/$srcdir - (cd ${D}${includedir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/include/$srcdir/* ./$srcdir/) - done - - find ${D}/opt/intel/oneapi/mkl/${MKLMAINVER}/include/ -mindepth 1 -maxdepth 1 -type f -printf '%f\n' | while read srcfile; do - (cd ${D}${includedir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/include/$srcfile .) - done -} - -AUTO_LIBNAME_PKGS = "" -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -RDEPENDS:${PN} += "bash tbb intel-oneapi-dpcpp-cpp-runtime setup-intel-oneapi-env virtual-opencl-icd" -INSANE_SKIP:${PN} = "ldflags textrel dev-so staticdev arch already-stripped" - -FILES:${PN}-staticdev += "/opt/intel/oneapi/mkl/${MKLMAINVER}/lib/*.a*" - -SKIP_FILEDEPS:${PN} = '1' - -SYSROOT_DIRS += "/opt" 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 @@ -DESCRIPTION = "Intel® Integrated Performance Primitives are production-ready \ - building blocks for cross-platform performance. Develop high-performance vision, \ - signal, security, and storage applications with this multithreaded software library." -HOMEPAGE = "https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/ipp.html" - -LICENSE = "ISSL" - -MAXVER = "2021.10" - -LIC_FILES_CHKSUM = " \ - file://opt/intel/oneapi/ipp/${MAXVER}/share/doc/ipp/licensing/license.txt;md5=d7cdc92ed6c4de1263da879599ddc3e2 \ - file://opt/intel/oneapi/ipp/${MAXVER}/share/doc/ipp/licensing/third-party-programs.txt;md5=22bd13987911dcf790907041b43081f3 \ - " -SRC_URI = " \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-ipp-${MAXVER}-${PV}_amd64.deb;subdir=${BPN};name=ipp \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-ipp-common-devel-${MAXVER}-${PV}_all.deb;subdir=${BPN};name=headers \ - https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-ipp-common-${MAXVER}-${PV}_all.deb;subdir=${BPN};name=env \ - " - -SRC_URI[ipp.sha256sum] = "b51e45c6e691aa46c7136b0ab61f5abe346388433e017a30cf53fd23e92bea07" -SRC_URI[headers.sha256sum] = "342f37ab2f82bc9f4498435f848ee660591c2488b44d988bf6ee96b2a71fd005" -SRC_URI[env.sha256sum] = "731e8c28a3b8b757730cd874d0941de2eb744856128f24ade59d36c12b415bf6" - -S = "${UNPACKDIR}/${BPN}" - -COMPATIBLE_HOST:libc-musl = "null" - -inherit bin_package - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" -INHIBIT_DEFAULT_DEPS = "" - -RDEPENDS:${PN} += "tbb setup-intel-oneapi-env" -INSANE_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 @@ -/opt/intel/oneapi/lib -/opt/intel/oneapi/lib/intel64 -/opt/intel/oneapi/lib/ia32 -/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 @@ -SUMMARY = "Intel® oneAPI runtime libraries environment set up" -DESCRIPTION = "Recipe to set up the environment for Intel® oneAPI runtime libraries \ -via configuration file in ld.so.conf.d directory." - -LICENSE = "EULA" -LIC_FILES_CHKSUM = "file://${CUSTOM_LICENSES_PATH}/EULA;md5=7bfc91523de2e84e7131d0eacf2827d4" - -SRC_URI = "file://intel-oneapi-runtime.conf" - -S = "${UNPACKDIR}" - -do_install() { - mkdir -p ${D}${sysconfdir}/ld.so.conf.d/ - install -m 644 ${S}/intel-oneapi-runtime.conf ${D}${sysconfdir}/ld.so.conf.d/ -} - -pkg_postinst_ontarget:${PN}() { -if [ x"$D" = "x" ]; then - if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi -fi -} -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf