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