aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArda Aytekin <arda.aytekin@ericsson.com>2020-04-20 15:44:04 +0200
committerArda Aytekin <aytekinar@mailbox.org>2020-04-21 00:01:36 +0200
commitc282f6982e087adf32977746dbe4c368a0a65cc6 (patch)
tree4cc86227770e1c32cb6b7aa2d6cceb5648bfe2cd
parentc1b810460838fda613bba8ce18ea3c0f82720c77 (diff)
downloadaports-c282f6982e087adf32977746dbe4c368a0a65cc6.tar.gz
aports-c282f6982e087adf32977746dbe4c368a0a65cc6.tar.bz2
aports-c282f6982e087adf32977746dbe4c368a0a65cc6.tar.xz
community/openblas: revert LAPACK changes
Reverted back the changes in `community/openblas` introduced in bea9248f and 7fd6f743 to let `openblas` install the optimized version of LAPACK. See the discussion under #10739.
-rw-r--r--community/openblas/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/openblas/APKBUILD b/community/openblas/APKBUILD
index c7f7ca69db..d341e0ca99 100644
--- a/community/openblas/APKBUILD
+++ b/community/openblas/APKBUILD
@@ -4,11 +4,12 @@
pkgname=openblas
_pkgname=OpenBLAS
pkgver=0.3.7
-pkgrel=2
+pkgrel=3
pkgdesc="A fast BSD-licensed BLAS based on gotoBLAS2, with LAPACK"
url="http://www.openblas.net"
arch="all"
license="BSD-3-Clause"
+replaces="blas lapack"
depends_dev="gfortran"
makedepends="$depends_dev perl linux-headers"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
@@ -28,8 +29,7 @@ fi
# NO_AFFINITY: don't expect to work on musl, also breaks R and not
# recommended for Julia
_flags="USE_OPENMP=0
- NO_LAPACK=1
- NO_LAPACKE=1
+ NO_LAPACK=0
MAJOR_VERSION=3
NO_AFFINITY=1"
case "$CARCH" in
@@ -75,6 +75,11 @@ build() {
fi
}
+dev() {
+ replaces="blas-dev lapack-dev"
+ default_dev
+}
+
check() {
CFLAGS= make $_flags CFLAGS="$CFLAGS" tests
}
@@ -96,8 +101,6 @@ package() {
install -Dm 0644 LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- rm -f "$pkgdir"/usr/include/cblas.h "$pkgdir"/usr/include/lapacke*
}
ilp64() {