xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/hwloc/hwloc_1.11.13.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Portable Hardware Locality (hwloc) software package"
2*4882a593SmuzhiyunDESCRIPTION = "The Portable Hardware Locality (hwloc) software package \
3*4882a593Smuzhiyun provides a portable abstraction of the hierarchical topology of modern \
4*4882a593Smuzhiyun architectures."
5*4882a593SmuzhiyunHOMEPAGE = "https://www.open-mpi.org/software/hwloc/"
6*4882a593SmuzhiyunSECTION = "base"
7*4882a593SmuzhiyunLICENSE = "BSD-3-Clause"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=3282e20dc3cec311deda3c6d4b1f990b"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "https://www.open-mpi.org/software/${BPN}/v1.11/downloads/${BP}.tar.bz2"
11*4882a593SmuzhiyunSRC_URI[md5sum] = "3c792e23c209e9e1bafe9bdbc613d401"
12*4882a593SmuzhiyunSRC_URI[sha256sum] = "a4494b7765f517c0990d1c7f09d98cb87755bb6b841e4e2cbfebca1b14bac9c8"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://www.open-mpi.org/software/hwloc/v1.11/"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuninherit autotools pkgconfig
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunDEPENDS += "ncurses udev zlib"
19*4882a593SmuzhiyunDEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunPACKAGECONFIG ?= "pci libxml2 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunPACKAGECONFIG[numactl] = "--enable-libnuma,--disable-libnuma,numactl,numactl"
24*4882a593SmuzhiyunPACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2,libxml2"
25*4882a593SmuzhiyunPACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 cairo,cairo"
26*4882a593SmuzhiyunPACKAGECONFIG[pci] = "--enable-pci,--disable-pci,libpciaccess,libpciaccess"
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun# Split hwloc library into separate subpackage
29*4882a593SmuzhiyunPACKAGES:prepend = " libhwloc "
30*4882a593SmuzhiyunFILES:libhwloc += "${libdir}/libhwloc.so.*"
31*4882a593SmuzhiyunRDEPENDS:${PN} += "libhwloc (= ${EXTENDPKGV})"
32