blob: 5a335b9249fd097428a9dea4206c17c10cc1a12a [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Portable Hardware Locality (hwloc) software package"
2DESCRIPTION = "The Portable Hardware Locality (hwloc) software package \
3 provides a portable abstraction of the hierarchical topology of modern \
4 architectures."
5HOMEPAGE = "https://www.open-mpi.org/software/hwloc/"
6SECTION = "base"
7LICENSE = "BSD"
8LIC_FILES_CHKSUM = "file://COPYING;md5=3282e20dc3cec311deda3c6d4b1f990b"
9
10SRC_URI = "https://www.open-mpi.org/software/${PN}/v1.11/downloads/${BP}.tar.bz2"
11SRC_URI[md5sum] = "96c34136ff416d2b13a7821c27477bed"
12SRC_URI[sha256sum] = "95d80286dfe658a3f79e2ac90698782bb36e5504f4bac1bba2394ba14dbbad24"
13
14inherit autotools pkgconfig
15
16DEPENDS += "ncurses udev zlib"
17DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
18
19PACKAGECONFIG ?= "pci libxml2 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
20
21PACKAGECONFIG[numactl] = "--enable-libnuma,--disable-libnuma,numactl,numactl"
22PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2,libxml2"
23PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 cairo,cairo"
24PACKAGECONFIG[pci] = "--enable-pci,--disable-pci,libpciaccess,libpciaccess"
25
26# Split hwloc library into separate subpackage
27PACKAGES_prepend = " libhwloc "
28FILES_libhwloc += "${libdir}/libhwloc.so.*"
29RDEPENDS_${PN} += "libhwloc (= ${EXTENDPKGV})"