Changeset 15659
- Timestamp:
- 07/31/13 17:01:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/m4/issm_options.m4
r15584 r15659 494 494 AC_MSG_RESULT($HAVE_ADIC2) 495 495 dnl }}} 496 dnl atlas{{{ 497 AC_ARG_WITH([atlas-dir], 498 AS_HELP_STRING([--with-atlas-dir=DIR],[atlas root directory]), 499 [ATLAS_ROOT=$withval],[ATLAS_ROOT=""]) 500 501 AC_MSG_CHECKING(for atlas and cblas libraries in $ATLAS_ROOT) 502 if test -d "$ATLAS_ROOT"; then 503 504 dnl defaults 505 HAVE_ATLAS=yes 506 507 dnl: branch on whether we are running on windows or linux. 508 case "${host_os}" in 509 *cygwin*) 510 ATLASLIB="-L`cygpath -m $ATLAS_ROOT` -Wl,libatlas.lib -Wl,libcblas.lib" 511 ;; 512 *linux*) 513 ATLASLIB=-L"$ATLAS_ROOT/lib -lcblas -latlas -lm " 514 ;; 515 *darwin*) 516 ATLASLIB=-L"$ATLAS_ROOT/lib -lcblas -latlas -lm" 517 ;; 518 esac 519 520 AC_DEFINE([_HAVE_ATLAS_],[1],[with ATLAS in ISSM src]) 521 AC_SUBST([ATLASLIB]) 522 else 523 HAVE_ATLAS=no 524 fi 525 AC_MSG_RESULT($HAVE_ATLAS) 526 dnl }}} 496 527 dnl gsl{{{ 497 528 AC_ARG_WITH([gsl-dir], … … 505 536 HAVE_GSL=yes 506 537 GSLINCL="-I$GSL_ROOT/include" 507 GSLLIB="-dy -L$GSL_ROOT/lib -lgsl -lgslcblas -lm" 538 539 if test "x$HAVE_ATLAS" = "xyes" ; then 540 GSLLIB="-dy -L$GSL_ROOT/lib -lgsl -L$ATLAS_ROOT/lib -lcblas -latlas -lm" 541 else 542 GSLLIB="-dy -L$GSL_ROOT/lib -lgsl -lgslcblas -lm" 543 fi 508 544 509 545 AC_DEFINE([_HAVE_GSL_],[1],[with gsl in ISSM src]) … … 826 862 AC_MSG_RESULT($HAVE_SCALAPACK) 827 863 dnl }}} 828 dnl blas {{{864 dnl blas-lapack{{{ 829 865 AC_ARG_WITH([blas-lapack-dir], 830 866 AS_HELP_STRING([--with-blas-lapack-dir=DIR],[blas-lapack root directory]),
Note:
See TracChangeset
for help on using the changeset viewer.