diff options
Diffstat (limited to 'recipes-multimedia/itt/itt_3.26.1.bb')
-rw-r--r-- | recipes-multimedia/itt/itt_3.26.1.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-multimedia/itt/itt_3.26.1.bb b/recipes-multimedia/itt/itt_3.26.1.bb new file mode 100644 index 00000000..27b967f5 --- /dev/null +++ b/recipes-multimedia/itt/itt_3.26.1.bb | |||
@@ -0,0 +1,32 @@ | |||
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 & GPL-2.0-only" | ||
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;branch=master" | ||
12 | SRCREV = "e535d565c88e4407f044719e2e9ec70c0b023d23" | ||
13 | PE = "1" | ||
14 | |||
15 | UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$" | ||
16 | |||
17 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
18 | |||
19 | inherit pkgconfig cmake | ||
20 | |||
21 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release" | ||
22 | EXTRA_OECMAKE += "${@oe.utils.conditional('TARGET_ARCH','x86_64','','-DFORCE_32=ON',d)}" | ||
23 | |||
24 | do_install() { | ||
25 | install -d -m 755 ${D}${libdir} ${D}${includedir}/ittnotify | ||
26 | install -m 644 ${B}/bin/*.a ${D}${libdir} | ||
27 | cp -r ${S}/include/* ${D}${includedir}/ittnotify | ||
28 | cp -r ${S}/src/ittnotify/*.h ${D}${includedir}/ittnotify | ||
29 | rm -r ${D}${includedir}/ittnotify/fortran/win32 | ||
30 | } | ||
31 | |||
32 | RDEPENDS:${PN}-dev:remove = "${PN} (= ${EXTENDPKGV})" | ||