diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-03-11 11:49:38 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:59:49 +0700 |
commit | 152a8346eb06b9906555d4f89305fdeee2183d71 (patch) | |
tree | 92fb2e6eaed7c1a6fa895b8073145b53867bc206 /academic/qrupdate/patches/atlas-lib-rename.diff | |
parent | 7a3d19931123fd8661f08a90c1807914e9e406cf (diff) |
academic/qrupdate: Improve BLAS/LAPACK support + New maintainer.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'academic/qrupdate/patches/atlas-lib-rename.diff')
-rw-r--r-- | academic/qrupdate/patches/atlas-lib-rename.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/academic/qrupdate/patches/atlas-lib-rename.diff b/academic/qrupdate/patches/atlas-lib-rename.diff new file mode 100644 index 0000000000000..4801036f4673a --- /dev/null +++ b/academic/qrupdate/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) |