From cdb3d6ec6d43b000c4b19094f15347f8c9d816f8 Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Fri, 24 Jan 2014 21:17:50 -0600 Subject: academic/cholmod: Renamed and moved from libraries. Signed-off-by: Robby Workman --- academic/cholmod/atlas-threaded-blas.diff | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 academic/cholmod/atlas-threaded-blas.diff (limited to 'academic/cholmod/atlas-threaded-blas.diff') diff --git a/academic/cholmod/atlas-threaded-blas.diff b/academic/cholmod/atlas-threaded-blas.diff new file mode 100644 index 0000000000..e7f34ef011 --- /dev/null +++ b/academic/cholmod/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) -- cgit v1.2.3