changeset 9161:8d4174140745

Make the native build less verbose unless mx -v is used
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 16 Apr 2013 18:16:47 +0200
parents f2aebc22372a
children 85b71f453ef5
files mx/commands.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mx/commands.py	Tue Apr 16 17:17:22 2013 +0200
+++ b/mx/commands.py	Tue Apr 16 18:16:47 2013 +0200
@@ -670,6 +670,8 @@
             env.setdefault('LANG', 'C')
             env.setdefault('HOTSPOT_BUILD_JOBS', str(cpus))
             env.setdefault('ALT_BOOTDIR', mx.java().jdk)
+            if not mx._opts.verbose:
+                runCmd.append('MAKE_VERBOSE=')
             env['JAVA_HOME'] = jdk
             if vm.endswith('nograal'):
                 env['OMIT_GRAAL'] = 'true'