blob: 7e8cd5f39082b44587bdba7b0404c92a6fc9557c [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "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-3-Clause"
8LIC_FILES_CHKSUM = "file://COPYING;md5=79179bb373cd55cbd834463a514fb714"
9
10SRC_URI = "https://www.open-mpi.org/software/${BPN}/v2.9/downloads/${BP}.tar.bz2"
Patrick Williams8e7b46e2023-05-01 14:19:06 -050011SRC_URI[sha256sum] = "7cc4931a20fef457e0933af3f375be6eafa7703fde21e137bfb9685b1409599e"
Andrew Geissler517393d2023-01-13 08:55:19 -060012UPSTREAM_CHECK_URI = "https://www.open-mpi.org/software/hwloc/v2.9/"
13
14inherit autotools bash-completion 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[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2,libxml2"
22PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 cairo,cairo"
23PACKAGECONFIG[pci] = "--enable-pci,--disable-pci,libpciaccess,libpciaccess"
24
25# Split hwloc library into separate subpackage
26PACKAGES:prepend = " libhwloc "
27FILES:libhwloc += "${libdir}/libhwloc.so.*"
28RDEPENDS:${PN} += "libhwloc (= ${EXTENDPKGV})"