testing/hwloc: disable tests for all arches

r1 on x86_64 triggered: FAIL: linux-libnuma
This commit is contained in:
Leonardo Arena 2019-08-28 15:04:24 +00:00
parent 9cb69db0b5
commit b65cdca87b

View File

@ -1,7 +1,7 @@
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=hwloc
pkgver=1.11.13
pkgrel=1
pkgrel=2
pkgdesc="Portable abstraction of hierarchical hardware architectures"
url="https://www.open-mpi.org/"
arch="all"
@ -9,9 +9,9 @@ license="BSD-3-Clause"
makedepends="cairo-dev eudev-dev libxml2-dev ncurses-dev"
case "$CARCH" in
arm*) true;;
x86 | ppc64le) options="!check";; # some tests fail
*) makedepends="$makedepends numactl-dev";;
esac
options="!check" # fails on multiple arches with different tests
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"