aboutsummaryrefslogtreecommitdiff
path: root/academic/cholmod/patches/atlas-lib-rename.diff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2016-11-19 14:27:57 -0600
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-04 19:28:56 +0000
commit5d13a1088d61a8d7d6e2a8fa427aab4d4a19fb87 (patch)
tree2f0db7282f5ea5bc057386a1a927c8dc8dfdb96b /academic/cholmod/patches/atlas-lib-rename.diff
parent0fb73f83151790e1c32b5cc7ede451c409538975 (diff)
academic/cholmod: Updated for version 3.0.11.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'academic/cholmod/patches/atlas-lib-rename.diff')
-rw-r--r--academic/cholmod/patches/atlas-lib-rename.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/academic/cholmod/patches/atlas-lib-rename.diff b/academic/cholmod/patches/atlas-lib-rename.diff
new file mode 100644
index 0000000000000..4801036f4673a
--- /dev/null
+++ b/academic/cholmod/patches/atlas-lib-rename.diff
@@ -0,0 +1,21 @@
+diff --git a/m4/ax_blas.m4 b/m4/ax_blas.m4
+--- a/m4/ax_blas.m4
++++ b/m4/ax_blas.m4
+@@ -116,13 +116,10 @@
+
+ # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
+ if test $ax_blas_ok = no; then
+- AC_CHECK_LIB(atlas, ATL_xerbla,
+- [AC_CHECK_LIB(f77blas, $sgemm,
+- [AC_CHECK_LIB(cblas, cblas_dgemm,
+- [ax_blas_ok=yes
+- BLAS_LIBS="-lcblas -lf77blas -latlas"],
+- [], [-lf77blas -latlas])],
+- [], [-latlas])])
++ AC_CHECK_LIB(tatlas, $sgemm,
++ [ax_blas_ok=yes; BLAS_LIBS="-ltatlas"],
++ [AC_CHECK_LIB(satlas, $sgemm,
++ [ax_blas_ok=yes; BLAS_LIBS="-lsatlas"])])
+ fi
+
+ # BLAS in PhiPACK libraries? (requires generic BLAS lib, too)