summaryrefslogtreecommitdiffstats
path: root/academic/lapacke/lapacke.SlackBuild
diff options
context:
space:
mode:
author Kyle Guinn <elyk03@gmail.com>2021-04-10 18:33:47 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-17 11:47:43 +0700
commit8b9684d32cfcac465b3c8f1748f8cc8fa166169b (patch)
treefacc663fbbbac7db076a4d338d1aa5461ece7b73 /academic/lapacke/lapacke.SlackBuild
parent781938c9ee3f75d2e4b990d0e071f0c804f9cd74 (diff)
downloadslackbuilds-8b9684d32cfcac465b3c8f1748f8cc8fa166169b.tar.gz
slackbuilds-8b9684d32cfcac465b3c8f1748f8cc8fa166169b.tar.xz
academic/lapacke: Updated for version 3.9.1.
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/lapacke/lapacke.SlackBuild')
-rw-r--r--academic/lapacke/lapacke.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/academic/lapacke/lapacke.SlackBuild b/academic/lapacke/lapacke.SlackBuild
index e0c9fe36d0..b7bac2704f 100644
--- a/academic/lapacke/lapacke.SlackBuild
+++ b/academic/lapacke/lapacke.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for LAPACKE
-# Copyright 2016-2020 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2016-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=lapacke
SRCNAM=lapack
-VERSION=${VERSION:-3.9.0}
+VERSION=${VERSION:-3.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,10 @@ chmod -R u+w,go-w,a+rX-st .
# Allow building only the LAPACKE component.
patch -p1 < $CWD/patches/cmake-piecewise.diff
+if pkg-config --exists xblas; then
+ use_xblas='-DUSE_XBLAS=ON'
+fi
+
# Avoid adding an RPATH entry to the shared lib. It's unnecessary (except for
# running the test suite), and it's broken on 64-bit (needs LIBDIRSUFFIX).
mkdir -p shared
@@ -82,6 +86,7 @@ cd shared
-DUSE_OPTIMIZED_LAPACK=ON \
-DBUILD_LAPACKE=ON \
-DBUILD_DEPRECATED=ON \
+ $use_xblas \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_SKIP_RPATH=YES \
..
@@ -104,6 +109,7 @@ if [ "${STATIC:-no}" != "no" ]; then
-DUSE_OPTIMIZED_LAPACK=ON \
-DBUILD_LAPACKE=ON \
-DBUILD_DEPRECATED=ON \
+ $use_xblas \
..
make
make install/strip DESTDIR=$PKG