xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/pcp/pcp.inc (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "System-level performance monitoring and performance management"
2*4882a593SmuzhiyunHOMEPAGE = "http://www.pcp.io"
3*4882a593SmuzhiyunSECTION =  "Applications/System"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later & LGPL-2.1-only"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \
7*4882a593Smuzhiyun                    "
8*4882a593SmuzhiyunCOMPATIBLE_HOST:libc-musl = "null"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \
11*4882a593Smuzhiyun           file://0001-configure-Limit-the-header-search-to-sysroot.patch \
12*4882a593Smuzhiyun           file://config.linux \
13*4882a593Smuzhiyun	   "
14*4882a593SmuzhiyunSRC_URI[sha256sum] = "6ef33b7aa14c09860ba7cd8873e76d38ccd24eab0c94a50e235f813e77fe3610"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuninherit setuptools3-base pkgconfig autotools-brokensep
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# Specify any options you want to pass to the configure script using EXTRA_OECONF:
19*4882a593SmuzhiyunCACHED_CONFIGUREVARS = "PACKAGE_DISTRIBUTION=arch"
20*4882a593SmuzhiyunEXTRA_OECONF:append = " --with-dstat-symlink=yes --with-infiniband=no \
21*4882a593Smuzhiyun                --with-pmdapodman=no --with-python=no --with-python3=yes --with-perl=no \
22*4882a593Smuzhiyun		--with-pmdabcc=no --with-pmdajson=no  --with-perfevent=no \
23*4882a593Smuzhiyun		--with-pmdabcc=yes \
24*4882a593Smuzhiyun		--with-rundir=${localstatedir}/run \
25*4882a593Smuzhiyun                --with-sysconfigdir=${sysconfdir} \
26*4882a593Smuzhiyun                --with-logdir=${localstatedir}/log \
27*4882a593Smuzhiyun                --with-docdir=${docdir} \
28*4882a593Smuzhiyun                "
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunPACKAGECONFIG[qt5] = "--with-qt=yes --with-qt3d=yes,--with-qt=no --with-qt3d=no,qtbase qt3d"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunPACKAGECONFIG ?= ""
33