summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2021-01-02 18:19:50 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-17 08:45:06 +0700
commite04b7b18ba11aa7a44fac191d25e3da01db8a723 (patch)
tree7eccf70294b6a205019f68e7b1df7b2f0fd1f78a
parent1a10bdc3f54a859cc479c6beb2b635b2353276bc (diff)
downloadslackbuilds-e04b7b18ba11aa7a44fac191d25e3da01db8a723.tar.gz
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>
-rw-r--r--academic/spqr/patches/autoconfiscate.diff18
-rw-r--r--academic/spqr/spqr.SlackBuild6
-rw-r--r--academic/spqr/spqr.info4
3 files changed, 17 insertions, 11 deletions
diff --git a/academic/spqr/patches/autoconfiscate.diff b/academic/spqr/patches/autoconfiscate.diff
index ffd9eb9657..8fff318251 100644
--- a/academic/spqr/patches/autoconfiscate.diff
+++ b/academic/spqr/patches/autoconfiscate.diff
@@ -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
+
diff --git a/academic/spqr/spqr.SlackBuild b/academic/spqr/spqr.SlackBuild
index 576fb608ee..0ce28905bc 100644
--- a/academic/spqr/spqr.SlackBuild
+++ b/academic/spqr/spqr.SlackBuild
@@ -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
diff --git a/academic/spqr/spqr.info b/academic/spqr/spqr.info
index 2bab1e6903..daa36cb95e 100644
--- a/academic/spqr/spqr.info
+++ b/academic/spqr/spqr.info
@@ -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"