summaryrefslogtreecommitdiffstats
path: root/recipes-oneapi/setup-oneapi-env/setup-intel-oneapi-env_2023.0.0-25370.bb
blob: 702f794eec43e95b84d9d21d5bb3f833739d1415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"

do_install() {
    mkdir -p ${D}${sysconfdir}/ld.so.conf.d/
    install -m 644 ${WORKDIR}/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"