dont_use_atlas.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. diff -Nuar R-2.11.0.orig/configure.ac R-2.11.0/configure.ac
  2. --- R-2.11.0.orig/configure.ac 2010-04-01 01:10:02.000000000 +0300
  3. +++ R-2.11.0/configure.ac 2010-05-02 18:42:50.276871339 +0300
  4. @@ -2508,7 +2508,6 @@
  5. if test "${acx_blas_ok}" = "yes"; then
  6. ## Try to figure out which BLAS was used.
  7. case "${BLAS_LIBS0}" in
  8. - *-latlas*) r_blas=ATLAS ;;
  9. *-lsgemm*) r_blas=PhiPack ;;
  10. *sunperf*) r_blas=SunPerf ;;
  11. *-lessl*) r_blas=ESSL ;;
  12. diff -Nuar R-2.11.0.orig/m4/R.m4 R-2.11.0/m4/R.m4
  13. --- R-2.11.0.orig/m4/R.m4 2010-03-28 01:10:03.000000000 +0200
  14. +++ R-2.11.0/m4/R.m4 2010-05-02 18:44:38.987876278 +0300
  15. @@ -2536,19 +2536,6 @@
  16. fi
  17. fi
  18. -## BLAS linked to by default? (happens on some supercomputers)
  19. -if test "${acx_blas_ok}" = no; then
  20. - AC_CHECK_FUNC(${dgemm}, [acx_blas_ok=yes])
  21. -fi
  22. -
  23. -## BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
  24. -if test "${acx_blas_ok}" = no; then
  25. - AC_CHECK_LIB(atlas, ATL_xerbla,
  26. - [AC_CHECK_LIB(f77blas, ${dgemm},
  27. - [acx_blas_ok=yes
  28. - BLAS_LIBS="-lf77blas -latlas"],
  29. - [], [-latlas])])
  30. -fi
  31. ## BLAS in PhiPACK libraries? (requires generic BLAS lib, too)
  32. if test "${acx_blas_ok}" = no; then
  33. @@ -2744,7 +2731,6 @@
  34. F77_SYMBOL(drotmg)();
  35. F77_SYMBOL(dsbmv)();
  36. F77_SYMBOL(dscal)();
  37. - F77_SYMBOL(dsdot)();
  38. F77_SYMBOL(dspmv)();
  39. F77_SYMBOL(dspr)();
  40. F77_SYMBOL(dspr2)();