academic/spqr: Updated for SuiteSparse 5.8.1.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Kyle Guinn 2021-01-02 18:19:50 -06:00 committed by Willy Sudiarto Raharjo
parent 1a10bdc3f5
commit e04b7b18ba
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 17 additions and 11 deletions

View file

@ -463,7 +463,7 @@ diff --git a/m4/ax_blas.m4 b/m4/ax_blas.m4
new file mode 100644
--- /dev/null
+++ b/m4/ax_blas.m4
@@ -0,0 +1,238 @@
@@ -0,0 +1,241 @@
+# ===========================================================================
+# https://www.gnu.org/software/autoconf-archive/ax_blas.html
+# ===========================================================================
@ -502,6 +502,7 @@ new file mode 100644
+# LICENSE
+#
+# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+# Copyright (c) 2019 Geoffrey M. Oxberry <goxberry@gmail.com>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
@ -529,7 +530,7 @@ new file mode 100644
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+#serial 16
+#serial 17
+
+AU_ALIAS([ACX_BLAS], [AX_BLAS])
+AC_DEFUN([AX_BLAS], [
@ -543,7 +544,9 @@ new file mode 100644
+case $with_blas in
+ yes | "") ;;
+ no) ax_blas_ok=disable ;;
+ -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;;
+ -* | */* | *.a | *.so | *.so.* | *.dylib | *.dylib.* | *.o)
+ BLAS_LIBS="$with_blas"
+ ;;
+ *) BLAS_LIBS="-l$with_blas" ;;
+esac
+
@ -982,7 +985,7 @@ diff --git a/m4/ax_lapack.m4 b/m4/ax_lapack.m4
new file mode 100644
--- /dev/null
+++ b/m4/ax_lapack.m4
@@ -0,0 +1,131 @@
@@ -0,0 +1,134 @@
+# ===========================================================================
+# https://www.gnu.org/software/autoconf-archive/ax_lapack.html
+# ===========================================================================
@ -1022,6 +1025,7 @@ new file mode 100644
+# LICENSE
+#
+# Copyright (c) 2009 Steven G. Johnson <stevenj@alum.mit.edu>
+# Copyright (c) 2019 Geoffrey M. Oxberry <goxberry@gmail.com>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
@ -1049,7 +1053,7 @@ new file mode 100644
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+#serial 9
+#serial 10
+
+AU_ALIAS([ACX_LAPACK], [AX_LAPACK])
+AC_DEFUN([AX_LAPACK], [
@ -1061,7 +1065,9 @@ new file mode 100644
+case $with_lapack in
+ yes | "") ;;
+ no) ax_lapack_ok=disable ;;
+ -* | */* | *.a | *.so | *.so.* | *.o) LAPACK_LIBS="$with_lapack" ;;
+ -* | */* | *.a | *.so | *.so.* | *.dylib | *.dylib.* | *.o)
+ LAPACK_LIBS="$with_lapack"
+ ;;
+ *) LAPACK_LIBS="-l$with_lapack" ;;
+esac
+

View file

@ -2,7 +2,7 @@
# Slackware build script for SPQR
# Copyright 2013-2020 Kyle Guinn <elyk03@gmail.com>
# Copyright 2013-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,8 +26,8 @@ PRGNAM=spqr
SRCNAM=SuiteSparse
SUBDIR=SPQR
VERSION=${VERSION:-2.0.9}
SRCVER=${SRCVER:-5.6.0}
BUILD=${BUILD:-2}
SRCVER=${SRCVER:-5.8.1}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then

View file

@ -1,8 +1,8 @@
PRGNAM="spqr"
VERSION="2.0.9"
HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html"
DOWNLOAD="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v5.6.0/SuiteSparse-5.6.0.tar.gz"
MD5SUM="af8b97cbded4cd5c6672e878bc0c37c2"
DOWNLOAD="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v5.8.1/SuiteSparse-5.8.1.tar.gz"
MD5SUM="c414679bbc9432a3def01b31ad921140"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="blas lapack suitesparseconfig cholmod tbb"