meta-intel/dynamic-layers/openembedded-layer/recipes-core/levelzero/level-zero_1.21.1.bb
Yogesh Tyagi fbaf7a7dbf
recipes: Update to match S/UNPACKDIR changes
Update to match the recent changes in OE-Core where the unpack layout changed.
[https://patchwork.yoctoproject.org/project/oe-core/patch/20250616095000.2918921-1-alex.kanavin@gmail.com/]

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

33 lines
1.0 KiB
BlitzBasic

SUMMARY = "oneAPI Level Zero Specification Headers and Loader"
HOMEPAGE = "https://github.com/oneapi-src/level-zero"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=97957beb2f7808ffa247e5d93e6442cc"
SRC_URI = "git://github.com/oneapi-src/level-zero.git;protocol=https;branch=master"
SRCREV = "9536683855b17a21508e5b54ba358225d6a976da"
inherit cmake
DEPENDS += "opencl-headers"
UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$"
PACKAGES =+ "${PN}-headers ${PN}-samples ${PN}-loader"
do_install:append () {
install -d ${D}${bindir} ${D}${libdir}
install -m 755 ${B}/bin/zello* ${D}${bindir}
oe_libinstall -C lib libze_null ${D}${libdir}
}
FILES:${PN}-headers = "${includedir}"
FILES:${PN}-samples = "${bindir} ${libdir}/libze_null* ${libdir}/libze_validation*"
FILES:${PN}-loader = "${libdir}"
# PN-loader (non -dev/-dbg/nativesdk- package) contains symlink .so
INSANE_SKIP:${PN}-loader = "dev-so"
INSANE_SKIP:${PN}-samples = "dev-so"
ALLOW_EMPTY:${PN} = "1"
BBCLASSEXTEND = "native nativesdk"