mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Config summary saved in git-config
This commit is contained in:
parent
89c430136d
commit
e8e56b3414
40
configure.ac
40
configure.ac
@ -419,23 +419,6 @@ AC_SUBST([GRID_LDFLAGS])
|
|||||||
AC_SUBST([GRID_LIBS])
|
AC_SUBST([GRID_LIBS])
|
||||||
AC_SUBST([GRID_SHA])
|
AC_SUBST([GRID_SHA])
|
||||||
AC_SUBST([GRID_BRANCH])
|
AC_SUBST([GRID_BRANCH])
|
||||||
AC_CONFIG_FILES([grid-config], [chmod +x grid-config])
|
|
||||||
AC_CONFIG_FILES(Makefile)
|
|
||||||
AC_CONFIG_FILES(lib/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/IO/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/core/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/debug/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/forces/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/hadrons/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/hmc/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/solver/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/qdpxx/Makefile)
|
|
||||||
AC_CONFIG_FILES(tests/testu01/Makefile)
|
|
||||||
AC_CONFIG_FILES(benchmarks/Makefile)
|
|
||||||
AC_CONFIG_FILES(extras/Makefile)
|
|
||||||
AC_CONFIG_FILES(extras/Hadrons/Makefile)
|
|
||||||
AC_OUTPUT
|
|
||||||
|
|
||||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Summary of configuration for $PACKAGE v$VERSION
|
Summary of configuration for $PACKAGE v$VERSION
|
||||||
@ -467,6 +450,29 @@ LDFLAGS:
|
|||||||
LIBS:
|
LIBS:
|
||||||
`echo ${LIBS} | tr ' ' '\n' | sed 's/^-/ -/g'`
|
`echo ${LIBS} | tr ' ' '\n' | sed 's/^-/ -/g'`
|
||||||
-------------------------------------------------------" > config.summary
|
-------------------------------------------------------" > config.summary
|
||||||
|
|
||||||
|
GRID_SUMMARY="`cat config.summary`"
|
||||||
|
AM_SUBST_NOTMAKE([GRID_SUMMARY])
|
||||||
|
AC_SUBST([GRID_SUMMARY])
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([grid-config], [chmod +x grid-config])
|
||||||
|
AC_CONFIG_FILES(Makefile)
|
||||||
|
AC_CONFIG_FILES(lib/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/IO/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/core/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/debug/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/forces/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/hadrons/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/hmc/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/solver/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/qdpxx/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/testu01/Makefile)
|
||||||
|
AC_CONFIG_FILES(benchmarks/Makefile)
|
||||||
|
AC_CONFIG_FILES(extras/Makefile)
|
||||||
|
AC_CONFIG_FILES(extras/Hadrons/Makefile)
|
||||||
|
AC_OUTPUT
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
cat config.summary
|
cat config.summary
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -15,6 +15,7 @@ Known values for OPTION are:
|
|||||||
--cxxflags print pre-processor and compiler flags
|
--cxxflags print pre-processor and compiler flags
|
||||||
--ldflags print library linking flags
|
--ldflags print library linking flags
|
||||||
--libs print library linking information
|
--libs print library linking information
|
||||||
|
--summary full build summary
|
||||||
--help display this help and exit
|
--help display this help and exit
|
||||||
--version output version information
|
--version output version information
|
||||||
|
|
||||||
@ -63,6 +64,12 @@ while test $# -gt 0; do
|
|||||||
echo @GRID_LIBS@
|
echo @GRID_LIBS@
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--summary)
|
||||||
|
echo ""
|
||||||
|
echo "@GRID_SUMMARY@"
|
||||||
|
echo ""
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user