[mpich2-commits] r4188 - mpich2/trunk/maint
goodell at mcs.anl.gov
goodell at mcs.anl.gov
Wed Mar 25 13:50:21 CDT 2009
Author: goodell
Date: 2009-03-25 13:50:21 -0500 (Wed, 25 Mar 2009)
New Revision: 4188
Modified:
mpich2/trunk/maint/simplemake.in
Log:
Fix non-profiling ranlib printing in the VERBOSE=0 case.
Reviewed by balaji at .
Modified: mpich2/trunk/maint/simplemake.in
===================================================================
--- mpich2/trunk/maint/simplemake.in 2009-03-25 15:52:40 UTC (rev 4187)
+++ mpich2/trunk/maint/simplemake.in 2009-03-25 18:50:21 UTC (rev 4188)
@@ -2997,8 +2997,14 @@
&LibraryBuild( $lib, $libloc, $sourcefiles, "a", "o" );
# Add any additional actions for this library.
&SMInvokeAction( "OutputLib", $lib, $libloc );
- if ($ranliblib) {
- print FD "\t\${RANLIB} ${libloc}lib$lib.a$newline";
+ if ($ranliblib) {
+ # COMMAND PRINTING
+ print FD "\t\@if [ \"x\$(VERBOSE)\" != \"x1\" ] ; then \\$newline";
+ print FD "\t echo \" RANLIB lib$lib.a\" ; \\$newline";
+ print FD "\telse \\$newline";
+ print FD "\t echo \${RANLIB} ${libloc}lib$lib.a ; \\$newline";
+ print FD "\tfi$newline";
+ print FD "\t\@\${RANLIB} ${libloc}lib$lib.a$newline";
}
# To handle timestamp problems with recursive makes, add a delay
&LibraryTimestampFix( $lib, $libloc )
More information about the mpich2-commits
mailing list