--with-rsb              Specify Recursive Sparse BLAS library linkage info
                          (that is, the output of librsb-config --static
                          --ldflags, or a directory where the usual
                          bin/include/lib subdirs with a regular RSB
                          installation resides, or nothing to make the
                          configure script invoke librsb-config)
psblas3-type-indexed
Michele Martone 14 years ago
parent ff54d2e71c
commit 8b577420c8

21
configure vendored

@ -1405,8 +1405,12 @@ Optional Packages:
prepend to [MODULE_PATH] prepend to [MODULE_PATH]
--with-blas=<lib> use BLAS library <lib> --with-blas=<lib> use BLAS library <lib>
--with-lapack=<lib> use LAPACK library <lib> --with-lapack=<lib> use LAPACK library <lib>
--with-rsb Specify Recursive Sparse BLAS library linkage (or --with-rsb Specify Recursive Sparse BLAS library linkage info
the output of librsb-config --static --ldflags) (that is, the output of librsb-config --static
--ldflags, or a directory where the usual
bin/include/lib subdirs with a regular RSB
installation resides, or nothing to make the
configure script invoke librsb-config)
--with-metis=LIB Specify -lMETISLIBNAME or the absolute library --with-metis=LIB Specify -lMETISLIBNAME or the absolute library
filename. filename.
@ -8778,18 +8782,21 @@ fi
# Check whether --with-rsb was given. # Check whether --with-rsb was given.
if test "${with_rsb+set}" = set; then : if test "${with_rsb+set}" = set; then :
withval=$with_rsb; if test x$withval = xno; then withval=$with_rsb; 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= ; else if test x$withval = xyes ; then want_rsb_libs=yes ; else want_rsb_libs="$withval" ; fi ; fi
else else
want_rsb_libs="" want_rsb_libs=""
fi fi
if test x$want_rsb_libs != x ; then if test x$want_rsb_libs != x ; then
if test x$want_rsb_libs = xyes ; then if test x$want_rsb_libs = xyes ; then
want_rsb_libs="`librsb-config --static --ldflags`" want_rsb_libs="`librsb-config --static --ldflags`"
else else
# FIXME ! temporary for OpenMP if test -d "$want_rsb_libs" ; then
#want_rsb_libs="`/usr/local/bin/librsb-config --static --ldflags` -fopenmp $want_rsb_libs" want_rsb_libs="`$want_rsb_libs/bin/librsb-config --static --ldflags`"
true else
true;
# we assume want_rsb_libs are linkage parameters
fi
fi fi
fi fi
RSB_LIBS="$want_rsb_libs" RSB_LIBS="$want_rsb_libs"

@ -652,15 +652,18 @@ PAC_MAKE_IS_GNUMAKE
# Note : also umfdi_local_search, ... # Note : also umfdi_local_search, ...
#AC_CHECK_LIB(umf,umfpack_di_solve,psblas_cv_have_umfpack=yes,psblas_cv_have_umfpack=no,[amd]) #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 linkage (or the output of librsb-config --static --ldflags)]), [if test x$withval = xno; then AC_ARG_WITH(rsb, AC_HELP_STRING([--with-rsb], [Specify Recursive Sparse BLAS library linkage info (that is, the output of librsb-config --static --ldflags, or a directory where the usual bin/include/lib subdirs with a regular RSB installation resides, or nothing to make the configure script invoke 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=""]) want_rsb_libs= ; else if test x$withval = xyes ; then want_rsb_libs=yes ; else want_rsb_libs="$withval" ; fi ; fi], [want_rsb_libs=""])
if test x$want_rsb_libs != x ; then if test x$want_rsb_libs != x ; then
if test x$want_rsb_libs = xyes ; then if test x$want_rsb_libs = xyes ; then
want_rsb_libs="`librsb-config --static --ldflags`" want_rsb_libs="`librsb-config --static --ldflags`"
else else
# FIXME ! temporary for OpenMP if test -d "$want_rsb_libs" ; then
#want_rsb_libs="`/usr/local/bin/librsb-config --static --ldflags` -fopenmp $want_rsb_libs" want_rsb_libs="`$want_rsb_libs/bin/librsb-config --static --ldflags`"
true else
true;
# we assume want_rsb_libs are linkage parameters
fi
fi fi
fi fi
RSB_LIBS="$want_rsb_libs" RSB_LIBS="$want_rsb_libs"

Loading…
Cancel
Save