aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/pcp/pcp.inc
blob: 4cafa7234b8d15fea0679e4911698fb924bc9424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
SUMMARY = "System-level performance monitoring and performance management"
HOMEPAGE = "http://www.pcp.io"
SECTION =  "Applications/System"

LICENSE = "GPL-2.0-or-later & LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \
                    "
COMPATIBLE_HOST:libc-musl = "null"

SRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \
           file://0001-configure-Limit-the-header-search-to-sysroot.patch \
           file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \
           file://config.linux \
	   "
SRC_URI[sha256sum] = "dacf92ba195f1f2ea8f40bf0c455d2cd2456273a1e30dcc3ee5b5bfd099a99ee"

inherit setuptools3-base pkgconfig autotools-brokensep

# Specify any options you want to pass to the configure script using EXTRA_OECONF:
CACHED_CONFIGUREVARS = "PACKAGE_DISTRIBUTION=arch"
EXTRA_OECONF:append = "\
                    --with-dstat-symlink=yes \
                    --with-infiniband=no \
                    --with-python=no \
                    --with-perl=no \
                    --with-python3=yes \
                    --with-pmdajson=no  \
                    --with-perfevent=no \
                    --with-pmdabcc=yes \
                    --with-rundir=${localstatedir}/run \
                    --with-sysconfigdir=${sysconfdir} \
                    --with-logdir=${localstatedir}/log \
                    --with-docdir=${docdir} \
                    "

PACKAGECONFIG[qt5] = "--with-qt=yes --with-qt3d=yes,--with-qt=no --with-qt3d=no,qtbase qt3d"

PACKAGECONFIG ?= ""

PARALLEL_MAKE = ""