the configure script --with-rsb updated to accept linking arguments.
psblas3-type-indexed
Michele Martone 14 years ago
parent ea7fba00ca
commit 6de05829eb

10
configure vendored

@ -1405,7 +1405,8 @@ Optional Packages:
prepend to [MODULE_PATH]
--with-blas=<lib> use BLAS library <lib>
--with-lapack=<lib> use LAPACK library <lib>
--with-rsb Specify Recursive Sparse BLAS library
--with-rsb Specify Recursive Sparse BLAS library linkage (or
the output of librsb-config)
--with-metis=LIB Specify -lMETISLIBNAME or the absolute library
filename.
@ -8783,8 +8784,13 @@ else
fi
if test x$want_rsb_libs != x ; then
if test x$want_rsb_libs = xyes ; then
want_rsb_libs="`librsb-config --static --ldflags`"
else
# FIXME ! temporary for OpenMP
want_rsb_libs="`/usr/local/bin/librsb-config --static --ldflags` -fopenmp $want_rsb_libs"
#want_rsb_libs="`/usr/local/bin/librsb-config --static --ldflags` -fopenmp $want_rsb_libs"
true
fi
fi
RSB_LIBS="$want_rsb_libs"
LIBS="$RSB_LIBS ${LIBS}"

@ -652,11 +652,16 @@ PAC_MAKE_IS_GNUMAKE
# Note : also umfdi_local_search, ...
#AC_CHECK_LIB(umf,umfpack_di_solve,psblas_cv_have_umfpack=yes,psblas_cv_have_umfpack=no,[amd])
AC_ARG_WITH(rsb, AC_HELP_STRING([--with-rsb], [Specify Recursive Sparse BLAS library]), [if test x$withval = xno; then
AC_ARG_WITH(rsb, AC_HELP_STRING([--with-rsb], [Specify Recursive Sparse BLAS library linkage (or the output of librsb-config)]), [if test x$withval = xno; then
want_rsb_libs= ; else if test x$withval = xyes ; then want_rsb_libs=-lrsb ; else want_rsb_libs="$withval" ; fi ; FDEFINES="$psblas_cv_define_prepend-DHAVE_LIBRSB $FDEFINES" ; fi], [want_rsb_libs=""])
if test x$want_rsb_libs != x ; then
if test x$want_rsb_libs = xyes ; then
want_rsb_libs="`librsb-config --static --ldflags`"
else
# FIXME ! temporary for OpenMP
want_rsb_libs="`/usr/local/bin/librsb-config --static --ldflags` -fopenmp $want_rsb_libs"
#want_rsb_libs="`/usr/local/bin/librsb-config --static --ldflags` -fopenmp $want_rsb_libs"
true
fi
fi
RSB_LIBS="$want_rsb_libs"
LIBS="$RSB_LIBS ${LIBS}"

Loading…
Cancel
Save