Commit ff26b302 authored by Daniel Sabogal's avatar Daniel Sabogal

testing/hwloc: upgrade to 1.11.8

parent ea5e2b77
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer:
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=hwloc
pkgver=1.11.5
pkgver=1.11.8
pkgrel=0
pkgdesc="Portable abstraction of hierarchical hardware architectures"
url="https://www.open-mpi.org/"
arch="all"
license="BSD"
depends=""
makedepends="cairo-dev eudev-dev libxml2-dev ncurses-dev"
case "$CARCH" in
x86*) makedepends="$makedepends numactl-dev";;
esac
if [ "$CARCH" != "armhf" ]; then
makedepends="$makedepends numactl-dev"
fi
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools:_tools"
source="https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
......@@ -22,23 +20,23 @@ build() {
--prefix=/usr \
--sbindir=/usr/bin \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
--localstatedir=/var
make
}
check() {
make -C "$builddir" check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make -C "$builddir" DESTDIR="$pkgdir" install
}
_tools() {
pkgdesc="Portable hardware locality tools"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr || return 1
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
md5sums="96c34136ff416d2b13a7821c27477bed hwloc-1.11.5.tar.bz2"
sha256sums="95d80286dfe658a3f79e2ac90698782bb36e5504f4bac1bba2394ba14dbbad24 hwloc-1.11.5.tar.bz2"
sha512sums="f32715d0b19400fa0cc02d4dd7b789d740f7bf16f16dbb247f6124adb41b452673139b12936d21259d6bc0dec4988260e6c3d00b3b145f410960e868ae96e1c6 hwloc-1.11.5.tar.bz2"
sha512sums="6ade049b1de2204ba876fa49344a8389c8128a4082f8e1bc1196a659e862dd4222e954aac64bdb8560dd59412b629d5a41c161a4746199b8994c4e490fae89f7 hwloc-1.11.8.tar.bz2"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment