From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ni.com (skprod2.natinst.com [130.164.80.23]) by mail.openembedded.org (Postfix) with ESMTP id 4DCFD60234 for ; Tue, 27 Dec 2016 19:06:21 +0000 (UTC) Received: from us-aus-exch1.ni.corp.natinst.com (us-aus-exch1.ni.corp.natinst.com [130.164.68.11]) by us-aus-skprod2.natinst.com (8.15.0.59/8.15.0.59) with ESMTPS id uBRJ6MLq007798 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 27 Dec 2016 13:06:22 -0600 Received: from us-aus-exhub1.ni.corp.natinst.com (130.164.68.41) by us-aus-exch1.ni.corp.natinst.com (130.164.68.11) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Tue, 27 Dec 2016 13:06:22 -0600 Received: from harisdt.amer.corp.natinst.com (130.164.49.7) by us-aus-exhub1.ni.corp.natinst.com (130.164.68.41) with Microsoft SMTP Server id 15.0.1156.6 via Frontend Transport; Tue, 27 Dec 2016 13:06:22 -0600 From: Haris Okanovic To: Date: Tue, 27 Dec 2016 13:06:17 -0600 Message-ID: <20161227190617.6358-1-haris.okanovic@ni.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161222200250.23273-1-haris.okanovic@ni.com> References: <20161222200250.23273-1-haris.okanovic@ni.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-12-27_15:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1612270307 Cc: haris.okanovic@ni.com Subject: [meta-oe][PATCH v2] hwloc: Add X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2016 19:06:23 -0000 Content-Type: text/plain 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 --- meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb 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..812f70d --- /dev/null +++ b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb @@ -0,0 +1,22 @@ +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 + +# Split hwloc library into separate subpackage +PACKAGES_prepend = " lib${PN} " +FILES_lib${PN} += "${libdir}/lib${PN}.so*" +${PN}_RDEPENDS += "lib${PN}" + +# XXX dev-so QA check doesn't like soname symlinks in non-dev packages +INSANE_SKIP_lib${PN} += "dev-so" -- 2.10.1