[oe-commits] [meta-openembedded] 06/54: hwloc: Add

git at git.openembedded.org git at git.openembedded.org
Mon Jun 5 11:11:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit eb5b483c4abee15dcf55e6899a78a2df677fae5d
Author: Haris Okanovic <haris.okanovic at ni.com>
AuthorDate: Fri May 19 11:17:23 2017 -0500

    hwloc: Add
    
    https://www.open-mpi.org/projects/hwloc/
    
    "The Portable Hardware Locality (hwloc) software package provides a
    portable abstraction (across OS, versions, architectures, ...) of the
    hierarchical topology of modern architectures, including NUMA memory
    nodes, sockets, shared caches, cores and simultaneous multithreading.
    It also gathers various system attributes such as cache and memory
    information as well as the locality of I/O devices such as network
    interfaces, InfiniBand HCAs or GPUs."
    
    This recipe adds libhwloc and lstopo utility as two packages.
    
    Testing: Built in OE/Krogoth. Installed to x86_64 machine. Successfully
    ran `lstopo` and verified it printed correct CPU and cache info.
    
    Signed-off-by: Haris Okanovic <haris.okanovic at ni.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
new file mode 100644
index 0000000..e067f27
--- /dev/null
+++ b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Portable Hardware Locality (hwloc) software package"
+DESCRIPTION = "The Portable Hardware Locality (hwloc) software package \
+ provides a portable abstraction of the hierarchical topology of modern \
+ architectures."
+HOMEPAGE = "https://www.open-mpi.org/software/hwloc/"
+SECTION = "base"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3282e20dc3cec311deda3c6d4b1f990b"
+
+SRC_URI = "https://www.open-mpi.org/software/${PN}/v1.11/downloads/${BP}.tar.bz2"
+SRC_URI[md5sum] = "96c34136ff416d2b13a7821c27477bed"
+SRC_URI[sha256sum] = "95d80286dfe658a3f79e2ac90698782bb36e5504f4bac1bba2394ba14dbbad24"
+
+inherit autotools
+
+DEPENDS += "cairo ncurses udev libxml2 zlib libpciaccess"
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}"
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}"
+
+# Split hwloc library into separate subpackage
+PACKAGES_prepend = " lib${PN} "
+FILES_lib${PN} += "${libdir}/lib${PN}.so*"
+RDEPENDS_${PN} += "lib${PN} (= ${EXTENDPKGV})"
+
+# XXX dev-so QA check doesn't like soname symlinks in non-dev packages
+INSANE_SKIP_lib${PN} += "dev-so"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list