changeset 7bbd1a21e566 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=7bbd1a21e566
description:
        scons: Shush scons

        make 'scons -s' actually silent.

diffstat:

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

diffs (32 lines):

diff -r c36803905607 -r 7bbd1a21e566 SConstruct
--- a/SConstruct        Sun Mar 23 11:11:49 2014 -0400
+++ b/SConstruct        Sun Mar 23 11:11:51 2014 -0400
@@ -1057,7 +1057,7 @@
 
 # Walk the tree and execute all SConsopts scripts that wil add to the
 # above variables
-if not GetOption('verbose'):
+if GetOption('verbose'):
     print "Reading SConsopts"
 for bdir in [ base_dir ] + extras_dir_list:
     if not isdir(bdir):
@@ -1194,7 +1194,8 @@
 ###################################################
 
 for variant_path in variant_paths:
-    print "Building in", variant_path
+    if not GetOption('silent'):
+        print "Building in", variant_path
 
     # Make a copy of the build-root environment to use for this config.
     env = main.Clone()
@@ -1212,7 +1213,8 @@
     current_vars_file = joinpath(build_root, 'variables', variant_dir)
     if isfile(current_vars_file):
         sticky_vars.files.append(current_vars_file)
-        print "Using saved variables file %s" % current_vars_file
+        if not GetOption('silent'):
+            print "Using saved variables file %s" % current_vars_file
     else:
         # Build dir-specific variables file doesn't exist.
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to