Use new git repo maintained by Intel
https://github.com/intel/ittapi

Signed-off-by: Naveen Saini <[email protected]>
---
 ...eLists.txt-set-output-directory-path.patch | 33 ----------------
 .../itt/{itt_17.01.28.bb => itt_3.15.12.bb}   | 38 ++++++++-----------
 2 files changed, 16 insertions(+), 55 deletions(-)
 delete mode 100644 
recipes-multimedia/itt/itt/0001-CMakeLists.txt-set-output-directory-path.patch
 rename recipes-multimedia/itt/{itt_17.01.28.bb => itt_3.15.12.bb} (28%)

diff --git 
a/recipes-multimedia/itt/itt/0001-CMakeLists.txt-set-output-directory-path.patch
 
b/recipes-multimedia/itt/itt/0001-CMakeLists.txt-set-output-directory-path.patch
deleted file mode 100644
index 6009669a..00000000
--- 
a/recipes-multimedia/itt/itt/0001-CMakeLists.txt-set-output-directory-path.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 6bced614fe448ee7fc6216b528e2c5684446f9c6 Mon Sep 17 00:00:00 2001
-From: Naveen Saini <[email protected]>
-Date: Tue, 14 May 2019 16:57:27 +0800
-Subject: [PATCH] CMakeLists.txt: set output directory path
-
-Installer section of CMakeLists.txt expect bin
-direcotry should be present at PROJECT_SOURCE_DIR
-
-set(SEA_PROJECT_BIN ${PROJECT_SOURCE_DIR}/bin)
-
-Upstream-Status: Inappropriate
-
-Signed-off-by: Naveen Saini <[email protected]>
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 479c443..01f0124 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -65,7 +65,7 @@ foreach (Flag ${Flags})
-     message(STATUS "${Flag} = ${${Flag}}")
- endforeach()
- 
--set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../../bin)
-+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
- 
- set(EXECUTABLE_OUTPUT_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
- set(LIBRARY_OUTPUT_PATH ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
--- 
-2.17.0
-
diff --git a/recipes-multimedia/itt/itt_17.01.28.bb 
b/recipes-multimedia/itt/itt_3.15.12.bb
similarity index 28%
rename from recipes-multimedia/itt/itt_17.01.28.bb
rename to recipes-multimedia/itt/itt_3.15.12.bb
index 752ecaa5..4c5d308f 100644
--- a/recipes-multimedia/itt/itt_17.01.28.bb
+++ b/recipes-multimedia/itt/itt_3.15.12.bb
@@ -1,36 +1,30 @@
-SUMMARY = "Intel® Single Event API"
-DESCRIPTION = "Intel® SEAPI is the translator of itt_notify calls into \
-several OS specific and third party tracing formats. \
-You can use it as memory/performance/whatever profiler."
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = 
"file://sea_itt_lib/Copyright.txt;md5=7d54dfc8860742fb06b9c5ad28f41fcd"
-
-SRC_URI = "git://github.com/intel/IntelSEAPI.git;protocol=https \
-           file://0001-CMakeLists.txt-set-output-directory-path.patch \
-           "
-SRCREV = "488651b6bf0da6f15fb33e64a1dcdb63f8bee910"
+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 & GPLv2"
+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"
+SRCREV = "d30e139f409bfcec37669d54b53e882830d12692"
 S = "${WORKDIR}/git"
+PE = "1"
 
 inherit pkgconfig cmake
 
 EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release"
-EXTRA_OECMAKE += "-DDCO_PILOT=0"
 EXTRA_OECMAKE += 
"${@oe.utils.conditional('TARGET_ARCH','x86_64','','-DFORCE_32=ON',d)}"
 
 COMPATIBLE_HOST_libc-musl_class-target = "null"
 
 do_install() {
-     # Create the directories needed
      install -d -m 755 ${D}${libdir} ${D}${includedir}/ittnotify
-     install -m 644 ${S}/bin/*.a ${D}${libdir}
-     install -m 755 ${S}/bin/*.so ${D}${libdir}
-     cp -r ${S}/ittnotify/include/* ${D}${includedir}/ittnotify
-     cp -r ${S}/ittnotify/src/ittnotify/*.h ${D}${includedir}/ittnotify
-     cp -r ${S}/*.hpp ${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
 }
 
-FILES_${PN} = "${libdir}"
-FILES_${PN}-dev = "${includedir}"
-
 RDEPENDS_${PN}-dev_remove = "${PN} (= ${EXTENDPKGV})"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6404): 
https://lists.yoctoproject.org/g/meta-intel/message/6404
Mute This Topic: https://lists.yoctoproject.org/mt/71720478/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to