aboutsummaryrefslogtreecommitdiff
path: root/academic/cblas/cblas.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/cblas/cblas.SlackBuild')
-rw-r--r--academic/cblas/cblas.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/academic/cblas/cblas.SlackBuild b/academic/cblas/cblas.SlackBuild
index 4dbd11b04b9ad..5e72cecfdd0c7 100644
--- a/academic/cblas/cblas.SlackBuild
+++ b/academic/cblas/cblas.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CBLAS
-# Copyright 2016 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2016-2017 Kyle Guinn <elyk03@gmail.com>, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=cblas
SRCNAM=lapack
-VERSION=${VERSION:-3.6.1}
+VERSION=${VERSION:-3.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,16 +61,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tgz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# Fix lots of bugs with the cmake build system and .pc files.
-# More importantly, allow building only the CBLAS component.
-patch -p1 < $CWD/patches/generate-pkgconfig.diff
-patch -p1 < $CWD/patches/link-dependencies.diff
-patch -p1 < $CWD/patches/target-cleanup.diff
+# Allow building only the CBLAS component.
patch -p1 < $CWD/patches/cmake-piecewise.diff
# Avoid adding an RPATH entry to the shared lib. It's unnecessary (except for
@@ -86,7 +82,6 @@ cd shared
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DUSE_OPTIMIZED_BLAS=ON \
-DBUILD_CBLAS=ON \
- -DBUILD_TESTING=OFF \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_SKIP_RPATH=YES \
..
@@ -108,7 +103,6 @@ cd static
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DUSE_OPTIMIZED_BLAS=ON \
-DBUILD_CBLAS=ON \
- -DBUILD_TESTING=OFF \
..
make
make install/strip DESTDIR=$PKG