aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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