changeset 7f49e6a176b8 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=7f49e6a176b8
description:
        SCons: Only print all the SConsopts being read if verbose is turned on.

diffstat:

 SConstruct |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 9b48b795bfc5 -r 7f49e6a176b8 SConstruct
--- a/SConstruct        Fri Jul 15 21:26:18 2011 -0400
+++ b/SConstruct        Tue Jul 19 02:56:02 2011 -0700
@@ -773,13 +773,16 @@
 
 # Walk the tree and execute all SConsopts scripts that wil add to the
 # above variables
+if not GetOption('verbose'):
+    print "Reading SConsopts"
 for bdir in [ base_dir ] + extras_dir_list:
     if not isdir(bdir):
         print "Error: directory '%s' does not exist" % bdir
         Exit(1)
     for root, dirs, files in os.walk(bdir):
         if 'SConsopts' in files:
-            print "Reading", joinpath(root, 'SConsopts')
+            if GetOption('verbose'):
+                print "Reading", joinpath(root, 'SConsopts')
             SConscript(joinpath(root, 'SConsopts'))
 
 all_isa_list.sort()
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to