Update configure script

repack-nvid
sfilippone 11 months ago
parent 6c9ca58282
commit ab8631439f

@ -2160,7 +2160,7 @@ AC_DEFUN([PAC_ARG_WITH_CUDACC],
[ [
AC_ARG_WITH(cudacc, AC_ARG_WITH(cudacc,
AC_HELP_STRING([--with-cudacc], [A comma-separated list of CCs to compile to, for example, AC_HELP_STRING([--with-cudacc], [A comma-separated list of CCs to compile to, for example,
--with-cudacc=30,35,37,50,60]), --with-cudacc=50,60,70,75]),
[pac_cv_cudacc=$withval], [pac_cv_cudacc=$withval],
[pac_cv_cudacc='']) [pac_cv_cudacc=''])
]) ])

36
configure vendored

@ -830,7 +830,6 @@ enable_openmp
with_blas with_blas
with_blasdir with_blasdir
with_lapack with_lapack
with_rsb
with_metis with_metis
with_metisincfile with_metisincfile
with_metisdir with_metisdir
@ -1522,12 +1521,6 @@ Optional Packages:
--with-blas=<lib> use BLAS library <lib> --with-blas=<lib> use BLAS library <lib>
--with-blasdir=<dir> search for BLAS library in <dir> --with-blasdir=<dir> search for BLAS library in <dir>
--with-lapack=<lib> use LAPACK library <lib> --with-lapack=<lib> use LAPACK library <lib>
--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)
--with-metis=LIBNAME Specify the library name for METIS library. Default: --with-metis=LIBNAME Specify the library name for METIS library. Default:
"-lmetis" "-lmetis"
--with-metisincfile=DIR Specify the name for METIS include file. --with-metisincfile=DIR Specify the name for METIS include file.
@ -1542,7 +1535,7 @@ Optional Packages:
--with-amdlibdir=DIR Specify the directory for AMD library. --with-amdlibdir=DIR Specify the directory for AMD library.
--with-cuda=DIR Specify the directory for CUDA library and includes. --with-cuda=DIR Specify the directory for CUDA library and includes.
--with-cudacc A comma-separated list of CCs to compile to, for --with-cudacc A comma-separated list of CCs to compile to, for
example, --with-cudacc=30,35,37,50,60 example, --with-cudacc=50,60,70,75
Some influential environment variables: Some influential environment variables:
FC Fortran compiler command FC Fortran compiler command
@ -3301,7 +3294,6 @@ psblas_cv_version="3.8.1"
Be sure to specify the library paths of your interest. Examples: Be sure to specify the library paths of your interest. Examples:
./configure --with-libs=-L/some/directory/LIB <- will append to LIBS ./configure --with-libs=-L/some/directory/LIB <- will append to LIBS
--with-spgpu=/path/to/spgpu
FC=mpif90 CC=mpicc ./configure <- will force FC,CC FC=mpif90 CC=mpicc ./configure <- will force FC,CC
See ./configure --help=short fore more info. See ./configure --help=short fore more info.
@ -3316,7 +3308,6 @@ printf "%s\n" "$as_me:
Be sure to specify the library paths of your interest. Examples: Be sure to specify the library paths of your interest. Examples:
./configure --with-libs=-L/some/directory/LIB <- will append to LIBS ./configure --with-libs=-L/some/directory/LIB <- will append to LIBS
--with-spgpu=/path/to/spgpu
FC=mpif90 CC=mpicc ./configure <- will force FC,CC FC=mpif90 CC=mpicc ./configure <- will force FC,CC
See ./configure --help=short fore more info. See ./configure --help=short fore more info.
@ -10021,31 +10012,6 @@ fi
#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])
# Check whether --with-rsb was given.
if test ${with_rsb+y}
then :
withval=$with_rsb; if test x"$withval" = xno; then
want_rsb_libs= ; else if test x"$withval" = xyes ; then want_rsb_libs=yes ; else want_rsb_libs="$withval" ; fi ; fi
else $as_nop
want_rsb_libs=""
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
if test -d "$want_rsb_libs" ; then
want_rsb_libs="`$want_rsb_libs/bin/librsb-config --static --ldflags`"
else
true;
# we assume want_rsb_libs are linkage parameters
fi
fi
FDEFINES="$FDEFINES $psblas_cv_define_prepend-DHAVE_LIBRSB"
fi
RSB_LIBS="$want_rsb_libs"
LIBS="$RSB_LIBS ${LIBS}"
# Check whether --with-metis was given. # Check whether --with-metis was given.
if test ${with_metis+y} if test ${with_metis+y}

@ -57,7 +57,6 @@ AC_MSG_NOTICE([
Be sure to specify the library paths of your interest. Examples: Be sure to specify the library paths of your interest. Examples:
./configure --with-libs=-L/some/directory/LIB <- will append to LIBS ./configure --with-libs=-L/some/directory/LIB <- will append to LIBS
[ --with-spgpu=/path/to/spgpu]
FC=mpif90 CC=mpicc ./configure <- will force FC,CC FC=mpif90 CC=mpicc ./configure <- will force FC,CC
See ./configure --help=short fore more info. See ./configure --help=short fore more info.
@ -730,23 +729,23 @@ 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, AS_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 dnl AC_ARG_WITH(rsb, AS_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=yes ; else want_rsb_libs="$withval" ; fi ; fi], [want_rsb_libs=""]) dnl 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 dnl if test x"$want_rsb_libs" != x ; then
if test x"$want_rsb_libs" = xyes ; then dnl if test x"$want_rsb_libs" = xyes ; then
want_rsb_libs="`librsb-config --static --ldflags`" dnl want_rsb_libs="`librsb-config --static --ldflags`"
else dnl else
if test -d "$want_rsb_libs" ; then dnl if test -d "$want_rsb_libs" ; then
want_rsb_libs="`$want_rsb_libs/bin/librsb-config --static --ldflags`" dnl want_rsb_libs="`$want_rsb_libs/bin/librsb-config --static --ldflags`"
else dnl else
true; dnl true;
# we assume want_rsb_libs are linkage parameters dnl # we assume want_rsb_libs are linkage parameters
fi dnl fi
fi dnl fi
FDEFINES="$FDEFINES $psblas_cv_define_prepend-DHAVE_LIBRSB" dnl FDEFINES="$FDEFINES $psblas_cv_define_prepend-DHAVE_LIBRSB"
fi dnl fi
RSB_LIBS="$want_rsb_libs" dnl RSB_LIBS="$want_rsb_libs"
LIBS="$RSB_LIBS ${LIBS}" dnl LIBS="$RSB_LIBS ${LIBS}"
dnl AC_CHECK_HEADERS([rsb.h], [ LIBS="${LIBS} $want_rsb_libs"], []) dnl AC_CHECK_HEADERS([rsb.h], [ LIBS="${LIBS} $want_rsb_libs"], [])
PAC_CHECK_METIS PAC_CHECK_METIS

Loading…
Cancel
Save