aboutsummaryrefslogtreecommitdiffstats
path: root/community/openblas
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-17 21:57:22 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-17 21:58:04 +0200
commit2787c3bfef989cf19e64664084ac25a63709ab57 (patch)
tree54065966fe56867c8ca12de7b2702c50e5c56d8b /community/openblas
parentc95b4aa8b02aed915ec840f8f291073157816b97 (diff)
downloadaports-2787c3bfef989cf19e64664084ac25a63709ab57.tar.bz2
aports-2787c3bfef989cf19e64664084ac25a63709ab57.tar.xz
community/openblas: specify TARGET, fix build on aarch64
Diffstat (limited to 'community/openblas')
-rw-r--r--community/openblas/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/openblas/APKBUILD b/community/openblas/APKBUILD
index c5f7826abe..40bc5a7c4f 100644
--- a/community/openblas/APKBUILD
+++ b/community/openblas/APKBUILD
@@ -4,7 +4,7 @@
pkgname=openblas
_pkgname=OpenBLAS
pkgver=0.2.18
-pkgrel=2
+pkgrel=3
pkgdesc="A fast BSD-licensed BLAS based on gotoBLAS2, with LAPACK"
url="http://www.openblas.net"
arch="all"
@@ -41,7 +41,9 @@ esac
# DYNAMIC_ARCH is supported on x86* only, see https://github.com/xianyi/OpenBLAS/issues/709
case "$CARCH" in
-x86*) _flags="$_flags DYNAMIC_ARCH=1";;
+x86*) _flags="$_flags TARGET=core2 DYNAMIC_ARCH=1";;
+armhf) _flags="$_flags TARGET=ARMV7 DYNAMIC_ARCH=0";;
+aarch64) _flags="$_flags TARGET=ARMV8 DYNAMIC_ARCH=0";;
*) _flags="$_flags DYNAMIC_ARCH=0";;
esac