1
1
use the new Automake "silent rules" if available.

If you are using an Automake prior to v1.11, you won't see the new 
silent rules -- it will automatically default back to the "verbose" 
rules.

Note, too, that even with these changes, you can enable the verbose 
"make all" output in one of two ways:

1. Add "V=1" to your "make" command line

{{{
shell$ make all V=1
}}}

2. Add "--disable-silent-rules" to your "configure" command line:

{{{
shell$ ./configure --disable-silent-rules ...
}}}

The one down side of using the silent rules by default is that we'll 
get less diagnostic information when users send their build logs.  I 
think we should update the web page to request that users send build 
logs of "make V=1", but I'm guessing that not everyone will do it.

Note that I did ''not'' silent-ize the libltdl build (which is a dozen
or so files in the beginning of the build) because we wholly import
libltdl at autogen time.  I therefore didn't want to patch libltdl
(further) after importing it a) to remain as forward- compatible as
possible, and b) patching the imported libltdl build system might be
tricky in terms of timestamps / dependencies.  So those dozen-or-so
files will still be "verbose", but the rest of the files in OMPI will
be "silent".

This commit was SVN r22189.
Этот коммит содержится в:
Jeff Squyres 2009-11-04 02:07:02 +00:00
родитель 6f8d0a1ab8
Коммит ab00aea1ff
4 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -55,6 +55,9 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects no-define 1.10 tar-ustar])
m4_pattern_allow([m4_ifval])
# If Automake supports silent rules, enable them.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Make configure depend on the VERSION file, since it's used in AC_INIT
AC_SUBST([CONFIGURE_DEPENDENCIES], ['$(top_srcdir)/VERSION'])

Просмотреть файл

@ -6,6 +6,9 @@ AC_INIT(VampirTrace, 5.4.10, vampirsupport@zih.tu-dresden.de)
AM_INIT_AUTOMAKE(VampirTrace, 5.4.10)
AM_CONFIG_HEADER(config.h)
# Open MPI: If Automake supports silent rules, enable them.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
ACVT_CONF_INIT
ACVT_CONF_TITLE([Initialization])

Просмотреть файл

@ -9,6 +9,9 @@ AM_INIT_AUTOMAKE(OTF, 1.3.12)
AC_CONFIG_SRCDIR([config.h.in])
AM_CONFIG_HEADER(config.h)
# Open MPI: If Automake supports silent rules, enable them.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC

Просмотреть файл

@ -205,6 +205,9 @@ AC_CONFIG_AUX_DIR(confdb)
# Open MPI: Init automake
AM_INIT_AUTOMAKE(io-romio, 1.0.0, 'no')
# Open MPI: If Automake supports silent rules, enable them.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
#
# Check that an arch was set
# If it wasn't set, try to guess using "util/tarch"