meta-intel/recipes-multimedia/itt/itt_3.26.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.3 KiB
BlitzBasic

SUMMARY = "Intel® Instrumentation and Tracing Technology (ITT) and Just-In-Time (JIT) API"
DESCRIPTION = "The Instrumentation and Tracing Technology (ITT) API enables \
application to generate and control the collection of trace data during its \
execution across different Intel tools."
LICENSE = "BSD-3-Clause & GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSES/BSD-3-Clause.txt;md5=c551872bcf41ce707df54c722edeca7b \
file://LICENSES/GPL-2.0-only.txt;md5=e2d76e7801260c21b90eea3605508ad6 \
"
SRC_URI = "git://github.com/intel/ittapi.git;protocol=https;branch=master"
SRCREV = "e535d565c88e4407f044719e2e9ec70c0b023d23"
PE = "1"
UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$"
COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
inherit pkgconfig cmake
EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release"
EXTRA_OECMAKE += "${@oe.utils.conditional('TARGET_ARCH','x86_64','','-DFORCE_32=ON',d)}"
do_install() {
install -d -m 755 ${D}${libdir} ${D}${includedir}/ittnotify
install -m 644 ${B}/bin/*.a ${D}${libdir}
cp -r ${S}/include/* ${D}${includedir}/ittnotify
cp -r ${S}/src/ittnotify/*.h ${D}${includedir}/ittnotify
rm -r ${D}${includedir}/ittnotify/fortran/win32
}
RDEPENDS:${PN}-dev:remove = "${PN} (= ${EXTENDPKGV})"