xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Heap memory profiler for Linux"
2*4882a593SmuzhiyunDESCRIPTION = "Heaptrack traces all memory allocations and annotates these \
3*4882a593Smuzhiyunevents with stack traces. Dedicated analysis tools then allow you to interpret \
4*4882a593Smuzhiyunthe heap memory profile to find hotspots to reduce memory, leaks, allocation \
5*4882a593Smuzhiyunhotspots and temporary allocations"
6*4882a593SmuzhiyunHOMEPAGE = "https://phabricator.kde.org/source/heaptrack/"
7*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunDEPENDS = "zlib boost libunwind elfutils"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRC_URI = "git://github.com/KDE/heaptrack.git;protocol=https;branch=master \
13*4882a593Smuzhiyun           file://0001-libheaptrack-Replace-__pid_t-with-pid_t.patch \
14*4882a593Smuzhiyun           file://0002-heaptrack_inject-Include-dlfcn.h-for-dlopen-dlclose.patch \
15*4882a593Smuzhiyun           file://0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch \
16*4882a593Smuzhiyun           file://0004-backtrace-Always-include-stdint.h.patch \
17*4882a593Smuzhiyun           file://0001-track-Check-for-unw_set_caching_policy-before-using.patch \
18*4882a593Smuzhiyun           "
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunSRCREV = "bc9e3744bcc47de978673d1e382f4125a1ab5fa8"
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunS = "${WORKDIR}/git"
23*4882a593Smuzhiyun
24*4882a593Smuzhiyuninherit cmake
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunEXTRA_OECMAKE += "-DHEAPTRACK_BUILD_GUI=OFF"
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun# libunwind is not yet ported to RISCV
29*4882a593SmuzhiyunCOMPATIBLE_HOST:riscv32 = "null"
30*4882a593SmuzhiyunCOMPATIBLE_HOST:riscv64 = "null"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
33