diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer')
3 files changed, 61 insertions, 0 deletions
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 new file mode 100644 index 00000000..d10f50f9 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | DESCRIPTION = "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." | ||
| 4 | HOMEPAGE = "https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/ipp.html" | ||
| 5 | |||
| 6 | LICENSE = "ISSL" | ||
| 7 | |||
| 8 | MAXVER = "2021.10" | ||
| 9 | |||
| 10 | LIC_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 | " | ||
| 14 | SRC_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 | |||
| 20 | SRC_URI[ipp.sha256sum] = "b51e45c6e691aa46c7136b0ab61f5abe346388433e017a30cf53fd23e92bea07" | ||
| 21 | SRC_URI[headers.sha256sum] = "342f37ab2f82bc9f4498435f848ee660591c2488b44d988bf6ee96b2a71fd005" | ||
| 22 | SRC_URI[env.sha256sum] = "731e8c28a3b8b757730cd874d0941de2eb744856128f24ade59d36c12b415bf6" | ||
| 23 | |||
| 24 | S = "${UNPACKDIR}/${BPN}" | ||
| 25 | |||
| 26 | COMPATIBLE_HOST:libc-musl = "null" | ||
| 27 | |||
| 28 | inherit bin_package | ||
| 29 | |||
| 30 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 31 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 32 | INHIBIT_DEFAULT_DEPS = "" | ||
| 33 | |||
| 34 | RDEPENDS:${PN} += "tbb setup-intel-oneapi-env" | ||
| 35 | 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 new file mode 100644 index 00000000..5faf9854 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/files/intel-oneapi-runtime.conf | |||
| @@ -0,0 +1,4 @@ | |||
| 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 new file mode 100644 index 00000000..cc43c972 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | SUMMARY = "Intel® oneAPI runtime libraries environment set up" | ||
| 2 | DESCRIPTION = "Recipe to set up the environment for Intel® oneAPI runtime libraries \ | ||
| 3 | via configuration file in ld.so.conf.d directory." | ||
| 4 | |||
| 5 | LICENSE = "EULA" | ||
| 6 | LIC_FILES_CHKSUM = "file://${CUSTOM_LICENSES_PATH}/EULA;md5=7bfc91523de2e84e7131d0eacf2827d4" | ||
| 7 | |||
| 8 | SRC_URI = "file://intel-oneapi-runtime.conf" | ||
| 9 | |||
| 10 | S = "${UNPACKDIR}" | ||
| 11 | |||
| 12 | do_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 | |||
| 17 | pkg_postinst_ontarget:${PN}() { | ||
| 18 | if [ x"$D" = "x" ]; then | ||
| 19 | if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi | ||
| 20 | fi | ||
| 21 | } | ||
| 22 | BBCLASSEXTEND = "native nativesdk" | ||
