summaryrefslogtreecommitdiff
path: root/academic/umfpack/atlas-threaded-blas.diff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2014-01-24 21:25:49 -0600
committerRobby Workman <rworkman@slackbuilds.org>2014-01-31 00:54:12 -0600
commit06d88577d57923b4599c47d57a9ac921cd3d0660 (patch)
tree5bca4e9a44d058ad1ff2bcc2ed5f4422db34b385 /academic/umfpack/atlas-threaded-blas.diff
parentfadc4225ddff17a0275b188837a00dd1d74513b6 (diff)
downloadslackbuilds-06d88577d57923b4599c47d57a9ac921cd3d0660.tar.gz
academic/umfpack: Renamed and moved from libraries.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/umfpack/atlas-threaded-blas.diff')
-rw-r--r--academic/umfpack/atlas-threaded-blas.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/academic/umfpack/atlas-threaded-blas.diff b/academic/umfpack/atlas-threaded-blas.diff
new file mode 100644
index 0000000000..e7f34ef011
--- /dev/null
+++ b/academic/umfpack/atlas-threaded-blas.diff
@@ -0,0 +1,26 @@
+diff --git a/ax_blas.m4 b/ax_blas.m4
+--- a/ax_blas.m4
++++ b/ax_blas.m4
+@@ -117,12 +117,16 @@
+ # 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(ptf77blas, $sgemm,
++ [AC_CHECK_LIB(ptcblas, cblas_dgemm,
++ [ax_blas_ok=yes; BLAS_LIBS="-lptcblas -lptf77blas -latlas"],,
++ [-lptf77blas -latlas])],
++ [AC_CHECK_LIB(f77blas, $sgemm,
++ [AC_CHECK_LIB(cblas, cblas_dgemm,
++ [ax_blas_ok=yes; BLAS_LIBS="-lcblas -lf77blas -latlas"],,
++ [-lf77blas -latlas])],,
++ [-latlas])],
++ [-latlas])])
+ fi
+
+ # BLAS in PhiPACK libraries? (requires generic BLAS lib, too)