summaryrefslogtreecommitdiff
path: root/libraries/OpenBLAS
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-24 21:24:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-26 01:20:12 +0700
commit5262771ecd304a34b50a06d73707a537362ad347 (patch)
treee1f37571f624fbe5d23c21fc65b6d0ea43bcbd9b /libraries/OpenBLAS
parent031ca49dd10c280fb58a64939da0ee680eaab1fd (diff)
downloadslackbuilds-5262771ecd304a34b50a06d73707a537362ad347.tar.gz
libraries/OpenBLAS: Fix Build on 32 bit.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/OpenBLAS')
-rw-r--r--libraries/OpenBLAS/OpenBLAS.SlackBuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/libraries/OpenBLAS/OpenBLAS.SlackBuild b/libraries/OpenBLAS/OpenBLAS.SlackBuild
index 5752a40f98..ca5ffb1901 100644
--- a/libraries/OpenBLAS/OpenBLAS.SlackBuild
+++ b/libraries/OpenBLAS/OpenBLAS.SlackBuild
@@ -66,10 +66,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make $EXTRAPARMS
+make $EXTRAPARMS \
+ DYNAMIC_ARCH=1 \
+ TARGET=GENERIC \
+ NO_STATIC=1 \
+ NO_AFFINITY=1 \
+ BUILD_RELAPACK=1 \
+ DESTDIR=$PKG \
+ PREFIX=$PREFIX \
+ OPENBLAS_LIBRARY_DIR=$PREFIX/lib$LIBDIRSUFFIX
make \
$EXTRAPARMS \
+ DYNAMIC_ARCH=1 \
+ TARGET=GENERIC \
NO_STATIC=1 \
+ NO_AFFINITY=1 \
BUILD_RELAPACK=1 \
DESTDIR=$PKG \
PREFIX=$PREFIX \