mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2026-01-27 10:21:22 +01:00
Move intel-oneapi-ipp and setup-intel-oneapi-env recipes under dynamic-layers/openembedded-layer to make oneAPI components conditionally enabled. This is a pure refactor with no functional changes to the recipes. It aligns oneAPI packages with the existing dynamic layer structure used for optional Intel runtimes. Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
23 lines
678 B
BlitzBasic
23 lines
678 B
BlitzBasic
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"
|