community/llvm3.7: disable check() on armhf

It takes tooo long to run them on the armhf builder.
This commit is contained in:
Jakub Jirutka 2017-04-25 15:06:23 +02:00
parent ba7e0d18ac
commit ee8b4a8c06

View File

@ -25,6 +25,12 @@ 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 and
# also it takes forever to run them on the builder.
case "$CARCH" in
arm*) options="!check";;
esac
# NOTE: It seems that there's no (sane) way how to change includedir, sharedir
# etc. separately, just the CMAKE_INSTALL_PREFIX. Standard CMake variables and
# even LLVM-specific variables, that are related to these paths, actually
@ -106,11 +112,7 @@ build() {
check() {
cd "$builddir"/build
# ARM has few failures in test suite that we don't care about currently.
case "$CARCH" in
arm*) make check-llvm || true;;
*) make check-llvm;;
esac
make check-llvm
}
package() {