mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-14 01:34:42 +02:00
The upgrade of libxml2 to version 2.14 has been reverted because it causes all kinds of build issues, but is still available on the builders. Make sure version 2.13 is picked when building hwloc.
53 lines
1.2 KiB
Text
53 lines
1.2 KiB
Text
# Maintainer: Krassy Boykinov <kboykinov@teamcentrixx.com>
|
|
pkgname=hwloc
|
|
pkgver=2.12.0
|
|
pkgrel=3
|
|
pkgdesc="Portable abstraction of hierarchical hardware architectures"
|
|
url="https://www.open-mpi.org/"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
makedepends="cairo-dev eudev-dev libxml2-dev~2.13 ncurses-dev numactl-dev"
|
|
options="!check" # fails on multiple arches with different tests
|
|
subpackages="
|
|
$pkgname-dev
|
|
$pkgname-doc
|
|
$pkgname-bash-completion
|
|
$pkgname-tools
|
|
"
|
|
source="https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/hwloc-$pkgver.tar.bz2"
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/bin \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
rm "$pkgdir"/usr/share/hwloc/hwloc-dump-hwdata.service
|
|
}
|
|
|
|
doc() {
|
|
default_doc
|
|
|
|
amove usr/share/hwloc/hwloc-ps.www
|
|
amove usr/share/hwloc/hwloc*.dtd
|
|
}
|
|
|
|
tools() {
|
|
pkgdesc="Portable hardware locality tools"
|
|
|
|
amove usr/bin
|
|
amove usr/share/applications/lstopo.desktop
|
|
}
|
|
|
|
sha512sums="
|
|
0486eb8fc49ded213ae84eb78ca87429570230b46513f90b6015a2ebc61f02c2b4f1203074a36813515ada0a8be2509d823ed03dc7ca5a065fb957523462cf30 hwloc-2.12.0.tar.bz2
|
|
"
|