itt: switch git repo

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

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Naveen Saini 2020-03-04 14:13:44 +08:00 committed by Anuj Mittal
parent 0700908061
commit f42efebc3a
3 changed files with 30 additions and 69 deletions

View File

@ -1,33 +0,0 @@
From 6bced614fe448ee7fc6216b528e2c5684446f9c6 Mon Sep 17 00:00:00 2001
From: Naveen Saini <naveen.kumar.saini@intel.com>
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 <naveen.kumar.saini@intel.com>
---
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

View File

@ -1,36 +0,0 @@
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"
S = "${WORKDIR}/git"
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
}
FILES_${PN} = "${libdir}"
FILES_${PN}-dev = "${includedir}"
RDEPENDS_${PN}-dev_remove = "${PN} (= ${EXTENDPKGV})"

View File

@ -0,0 +1,30 @@
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 += "${@oe.utils.conditional('TARGET_ARCH','x86_64','','-DFORCE_32=ON',d)}"
COMPATIBLE_HOST_libc-musl_class-target = "null"
do_install() {
install -d -m 755 ${D}${libdir} ${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
}
RDEPENDS_${PN}-dev_remove = "${PN} (= ${EXTENDPKGV})"