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