Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Portable Hardware Locality (hwloc) software package" |
| 2 | DESCRIPTION = "The Portable Hardware Locality (hwloc) software package \ |
| 3 | provides a portable abstraction of the hierarchical topology of modern \ |
| 4 | architectures." |
| 5 | HOMEPAGE = "https://www.open-mpi.org/software/hwloc/" |
| 6 | SECTION = "base" |
Brad Bishop | 2d39a06 | 2019-10-28 08:33:36 -0400 | [diff] [blame] | 7 | LICENSE = "BSD-3-Clause" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3282e20dc3cec311deda3c6d4b1f990b" |
| 9 | |
| 10 | SRC_URI = "https://www.open-mpi.org/software/${BPN}/v1.11/downloads/${BP}.tar.bz2" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 11 | SRC_URI[md5sum] = "3c792e23c209e9e1bafe9bdbc613d401" |
| 12 | SRC_URI[sha256sum] = "a4494b7765f517c0990d1c7f09d98cb87755bb6b841e4e2cbfebca1b14bac9c8" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | |
| 14 | UPSTREAM_CHECK_URI = "https://www.open-mpi.org/software/hwloc/v1.11/" |
| 15 | |
| 16 | inherit autotools pkgconfig |
| 17 | |
| 18 | DEPENDS += "ncurses udev zlib" |
| 19 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" |
| 20 | |
| 21 | PACKAGECONFIG ?= "pci libxml2 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" |
| 22 | |
| 23 | PACKAGECONFIG[numactl] = "--enable-libnuma,--disable-libnuma,numactl,numactl" |
| 24 | PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2,libxml2" |
| 25 | PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 cairo,cairo" |
| 26 | PACKAGECONFIG[pci] = "--enable-pci,--disable-pci,libpciaccess,libpciaccess" |
| 27 | |
| 28 | # Split hwloc library into separate subpackage |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | PACKAGES:prepend = " libhwloc " |
| 30 | FILES:libhwloc += "${libdir}/libhwloc.so.*" |
| 31 | RDEPENDS:${PN} += "libhwloc (= ${EXTENDPKGV})" |