aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilliam PC <w_calandrini[at]hotmail[dot]com>2022-11-12 12:24:23 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-12 22:33:03 +0700
commitc281d424f17e38896786c03beb25637b15c60386 (patch)
treed4169d885eeb91d7f65bb4b2699e165e41168737 /libraries
parent4b631a50f0d3d9657fbddec1daf0b8f97ec9e629 (diff)
libraries/scalapack: Fix cmake shared. Bump BUILD.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/scalapack/scalapack.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/scalapack/scalapack.SlackBuild b/libraries/scalapack/scalapack.SlackBuild
index cb56acb63184..df23122d7cd5 100644
--- a/libraries/scalapack/scalapack.SlackBuild
+++ b/libraries/scalapack/scalapack.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scalapack
VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -95,13 +95,14 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
- -DBUILD_SHARED_LIBS=OFF \
+ -DBUILD_STATIC_LIBS=OFF \
-DCMAKE_Fortran_FLAGS="-std=legacy" \
..
make
make install/strip DESTDIR=$PKG
cd ..
+
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la