# HG changeset patch # User Doug Simon # Date 1401959293 -7200 # Node ID cd2209d3af46d6295d8c136a885eb9cd81622eb7 # Parent bddb3eb57e90c6eceabfed37e6a6bd6cf7643aac mx: show the environment variables defined and make command line issued when doing a HotSpot build diff -r bddb3eb57e90 -r cd2209d3af46 mx/mx_graal.py --- a/mx/mx_graal.py Thu Jun 05 11:05:46 2014 +0200 +++ b/mx/mx_graal.py Thu Jun 05 11:08:13 2014 +0200 @@ -802,13 +802,19 @@ env.pop('LD_LIBRARY_PATH', None) env.pop('CLASSPATH', None) - if mx._opts.verbose: - # Issue an env prefix that can be used to run the make on the command line - envPrefix = ' '.join([key + '=' + env[key] for key in env.iterkeys() if not os.environ.has_key(key) or env[key] != os.environ[key]]) - if len(envPrefix): - mx.log('env ' + envPrefix + ' \\') + # Issue an env prefix that can be used to run the make on the command line + if not mx._opts.verbose: + mx.log('--------------- make command line ----------------------') + + envPrefix = ' '.join([key + '=' + env[key] for key in env.iterkeys() if not os.environ.has_key(key) or env[key] != os.environ[key]]) + if len(envPrefix): + mx.log('env ' + envPrefix + ' \\') runCmd.append(build + buildSuffix) + + if not mx._opts.verbose: + mx.log(' '.join(runCmd)) + mx.log('--------------------------------------------------------') mx.run(runCmd, err=filterXusage, env=env) jvmCfg = _vmCfgInJdk(jdk)