diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2008-10-26 14:45:47 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2008-10-26 14:45:47 -0400 |
commit | aadae0b06e8a3ff1dc39c7d2dbacd488488428fc (patch) | |
tree | 210b79efb460f73f9f0461df4f7ef178643c3304 /SConstruct | |
parent | 8788d703f81cef20916ffd2c7e0d28031cf65df8 (diff) | |
download | gem5-aadae0b06e8a3ff1dc39c7d2dbacd488488428fc.tar.xz |
BATCH: Run as, ar, and ranlib with BATCH_CMD so that they execute on the batch hosts, not local host.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index 260c025bd..ce34fa541 100644 --- a/SConstruct +++ b/SConstruct @@ -369,8 +369,11 @@ else: # Do this after we save setting back, or else we'll tack on an # extra 'qdo' every time we run scons. if env['BATCH']: - env['CC'] = env['BATCH_CMD'] + ' ' + env['CC'] - env['CXX'] = env['BATCH_CMD'] + ' ' + env['CXX'] + env['CC'] = env['BATCH_CMD'] + ' ' + env['CC'] + env['CXX'] = env['BATCH_CMD'] + ' ' + env['CXX'] + env['AS'] = env['BATCH_CMD'] + ' ' + env['AS'] + env['AR'] = env['BATCH_CMD'] + ' ' + env['AR'] + env['RANLIB'] = env['BATCH_CMD'] + ' ' + env['RANLIB'] if sys.platform == 'cygwin': # cygwin has some header file issues... |