meta-intel/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb
Yogesh Tyagi 948f32898c
setup-intel-oneapi-env : Fix S variable warning
Fix the following warning:
the directory ${UNPACKDIR}/${BP} (/build/tmp/work/...../sources/setup-intel-oneapi-env-*)
pointed to by the S variable doesn't exist - please set S within the recipe to
point to where the source has been unpacked to

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2025-07-08 13:07:14 +08:00

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"