diff options
Diffstat (limited to 'recipes-multimedia/itt/itt_3.20.1.bb')
-rw-r--r-- | recipes-multimedia/itt/itt_3.20.1.bb | 37 |
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 00000000..4c6f96c1 --- /dev/null +++ b/recipes-multimedia/itt/itt_3.20.1.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "IntelĀ® Instrumentation and Tracing Technology (ITT) and Just-In-Time (JIT) API" | ||
2 | DESCRIPTION = "The Instrumentation and Tracing Technology (ITT) API enables \ | ||
3 | application to generate and control the collection of trace data during its \ | ||
4 | execution across different Intel tools." | ||
5 | |||
6 | LICENSE = "BSD-3-Clause & GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSES/BSD-3-Clause.txt;md5=c551872bcf41ce707df54c722edeca7b \ | ||
8 | file://LICENSES/GPL-2.0-only.txt;md5=e2d76e7801260c21b90eea3605508ad6 \ | ||
9 | " | ||
10 | |||
11 | SRC_URI = "git://github.com/intel/ittapi.git;protocol=https" | ||
12 | SRCREV = "1c48893612059f52ccb45f7f8bc57d2e0e536273" | ||
13 | S = "${WORKDIR}/git" | ||
14 | PE = "1" | ||
15 | |||
16 | UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$" | ||
17 | |||
18 | inherit pkgconfig cmake | ||
19 | |||
20 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release" | ||
21 | EXTRA_OECMAKE += "${@oe.utils.conditional('TARGET_ARCH','x86_64','','-DFORCE_32=ON',d)}" | ||
22 | |||
23 | do_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 | |||
37 | RDEPENDS:${PN}-dev:remove = "${PN} (= ${EXTENDPKGV})" | ||