summaryrefslogtreecommitdiffstats
path: root/academic/spqr
diff options
context:
space:
mode:
Diffstat (limited to 'academic/spqr')
-rw-r--r--academic/spqr/README22
-rw-r--r--academic/spqr/spqr.SlackBuild25
-rw-r--r--academic/spqr/spqr.info2
3 files changed, 29 insertions, 20 deletions
diff --git a/academic/spqr/README b/academic/spqr/README
index 051977e0e6..8bb80aef4f 100644
--- a/academic/spqr/README
+++ b/academic/spqr/README
@@ -1,18 +1,22 @@
SuiteSparseQR is an implementation of the multifrontal sparse QR
-factorization method. Parallelism is exploited both in the BLAS and
-across different frontal matrices using Intel's Threading Building Blocks,
-a shared-memory programming model for modern multicore
+factorization method. Parallelism is exploited both in the BLAS and
+across different frontal matrices using Intel's Threading Building
+Blocks, a shared-memory programming model for modern multicore
architectures. It can obtain a substantial fraction of the
theoretical peak performance of a multicore computer.
This package is part of SuiteSparse.
-This requires a BLAS/LAPACK implementation. Choose one of these package sets:
+This requires a BLAS/LAPACK implementation. Choose one of these package
+sets:
+
* OpenBLAS (includes both a BLAS and a LAPACK implementation)
* atlas (includes both a BLAS and a LAPACK implementation)
* blas, lapack (the Netlib reference implementations)
-If more than one set is installed (assuming there are no packaging conflicts)
-then the auto-detection will use the first implementation from this list that
-it finds. If in doubt, choose the Netlib reference implementations; other
-packages that require a BLAS or LAPACK implementation may not build if they
-are not configured to detect/use alternate implementations.
+
+If more than one set is installed (assuming there are no packaging
+conflicts) then the auto-detection will use the first implementation
+from this list that it finds. If in doubt, choose the Netlib reference
+implementations; other packages that require a BLAS or LAPACK
+implementation may not build if they are not configured to detect/use
+alternate implementations.
diff --git a/academic/spqr/spqr.SlackBuild b/academic/spqr/spqr.SlackBuild
index 0ce28905bc..a99c21b3d7 100644
--- a/academic/spqr/spqr.SlackBuild
+++ b/academic/spqr/spqr.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SPQR
-# Copyright 2013-2021 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2013-2023 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spqr
SRCNAM=SuiteSparse
SUBDIR=SPQR
VERSION=${VERSION:-2.0.9}
SRCVER=${SRCVER:-5.8.1}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -38,17 +41,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="README.txt Doc/ChangeLog Doc/License.txt Doc/gpl.txt"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -92,6 +96,7 @@ touch Doc/spqr_user_guide.pdf
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-dependency-tracking \
+ --without-tbb \
--build=$ARCH-slackware-linux \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -110,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/academic/spqr/spqr.info b/academic/spqr/spqr.info
index daa36cb95e..eff7ce4d4d 100644
--- a/academic/spqr/spqr.info
+++ b/academic/spqr/spqr.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v5.8.1/Suit
MD5SUM="c414679bbc9432a3def01b31ad921140"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="blas lapack suitesparseconfig cholmod tbb"
+REQUIRES="cholmod"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"