summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/itt/itt_3.20.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/itt/itt_3.20.1.bb')
-rw-r--r--recipes-multimedia/itt/itt_3.20.1.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-multimedia/itt/itt_3.20.1.bb b/recipes-multimedia/itt/itt_3.20.1.bb
new file mode 100644
index 0000000..4c6f96c
--- /dev/null
+++ b/recipes-multimedia/itt/itt_3.20.1.bb
@@ -0,0 +1,37 @@
1SUMMARY = "IntelĀ® Instrumentation and Tracing Technology (ITT) and Just-In-Time (JIT) API"
2DESCRIPTION = "The Instrumentation and Tracing Technology (ITT) API enables \
3application to generate and control the collection of trace data during its \
4execution across different Intel tools."
5
6LICENSE = "BSD-3-Clause & GPLv2"
7LIC_FILES_CHKSUM = "file://LICENSES/BSD-3-Clause.txt;md5=c551872bcf41ce707df54c722edeca7b \
8 file://LICENSES/GPL-2.0-only.txt;md5=e2d76e7801260c21b90eea3605508ad6 \
9 "
10
11SRC_URI = "git://github.com/intel/ittapi.git;protocol=https"
12SRCREV = "1c48893612059f52ccb45f7f8bc57d2e0e536273"
13S = "${WORKDIR}/git"
14PE = "1"
15
16UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$"
17
18inherit pkgconfig cmake
19
20EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release"
21EXTRA_OECMAKE += "${@oe.utils.conditional('TARGET_ARCH','x86_64','','-DFORCE_32=ON',d)}"
22
23do_install() {
24 install -d -m 755 ${D}${libdir} ${D}${includedir}/ittnotify
25 install -m 644 ${B}/bin/*.a ${D}${libdir}
26 cp -r ${S}/include/* ${D}${includedir}/ittnotify
27 cp -r ${S}/src/ittnotify/*.h ${D}${includedir}/ittnotify
28 rm -r ${D}${includedir}/ittnotify/fortran/win32
29 if [ "${TARGET_ARCH}" = "x86_64" ]; then
30 rm -r ${D}${includedir}/ittnotify/fortran/posix/x86
31 else
32 rm -r ${D}${includedir}/ittnotify/fortran/posix/x86_64
33 fi
34
35}
36
37RDEPENDS:${PN}-dev:remove = "${PN} (= ${EXTENDPKGV})"