diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-12 13:07:34 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-12 12:59:30 +0200 |
commit | bdb8ebd9d39452b6b175b54c899910d2386c0676 (patch) | |
tree | 8389ef059a7b2c2ab1404c4fca0a17a66c9992dc /testing | |
parent | d960d40bea1a68065d44c71c00b8ddfaf45a4d8d (diff) | |
download | aports-bdb8ebd9d39452b6b175b54c899910d2386c0676.tar.bz2 aports-bdb8ebd9d39452b6b175b54c899910d2386c0676.tar.xz |
testing/sbcl: enable on x86, armhf and aarch64
Diffstat (limited to 'testing')
-rw-r--r-- | testing/sbcl/APKBUILD | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/testing/sbcl/APKBUILD b/testing/sbcl/APKBUILD index a0093d13ff..e9d8dc96fe 100644 --- a/testing/sbcl/APKBUILD +++ b/testing/sbcl/APKBUILD @@ -5,7 +5,7 @@ pkgver=1.4.9 pkgrel=0 pkgdesc="Steel Bank Common Lisp" url="http://www.sbcl.org/" -arch="x86_64" +arch="x86 x86_64 armhf aarch64" license="custom" checkdepends="ed" makedepends="clisp linux-headers paxmark zlib-dev" @@ -19,6 +19,12 @@ source="$pkgname-$pkgver.tar.bz2::http://prdownloads.sourceforge.net/$pkgname/$p " builddir="$srcdir/$pkgname-$pkgver" +case "$CARCH" in + armhf) export SBCL_ARCH="arm";; + aarch64) export SBCL_ARCH="arm64";; + *) export SBCL_ARCH="$CARCH";; +esac + prepare() { default_prepare @@ -40,7 +46,12 @@ build() { check() { cd "$builddir"/tests - sh run-tests.sh + # From make.sh: All tests should pass on x86/Linux, x86/FreeBSD4, and + # ppc/Darwin. On other platforms some failures are currently expected. + case "$CARCH" in + x86*) sh run-tests.sh;; + *) sh run-tests.sh || echo 'WARN: Ignoring test failures';; + esac } package() { |