diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-11 20:12:56 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-11 20:13:27 +0200 |
commit | 262ff9031ba3960d64ce384551a136a77f1a87ab (patch) | |
tree | 9df108c92ef0725a603fb41d048ad8a27f37b4ae | |
parent | 4f34754ccbddfcc46ac889ad088c38a6d7b75dfb (diff) | |
download | aports-262ff9031ba3960d64ce384551a136a77f1a87ab.tar.bz2 aports-262ff9031ba3960d64ce384551a136a77f1a87ab.tar.xz |
main/llvm: use options to disable tests on arm*
-rw-r--r-- | main/llvm/APKBUILD | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/main/llvm/APKBUILD b/main/llvm/APKBUILD index a7a7afecc7..987f01d69f 100644 --- a/main/llvm/APKBUILD +++ b/main/llvm/APKBUILD @@ -39,6 +39,11 @@ source="http://llvm.org/releases/$pkgver/llvm-$pkgver.src.tar.xz " builddir="$srcdir/$pkgname-$pkgver.src" +# ARM has few failures in test suite that we don't care about currently. +case "$CARCH" in + arm*) options="!check";; +esac + prepare() { cd "$builddir" @@ -104,15 +109,7 @@ build() { check() { cd "$builddir"/build - case "$CARCH" in - arm*) - # ARM has few failures in test suite - # that we don't care about currently. - ;; - *) - make check-llvm || return 1 - ;; - esac + make check-llvm } package() { |