help='echo commands before executing')
add_option('--builds',
default='ALPHA,ALPHA_MOESI_hammer,' \
- 'ALPHA_MESI_CMP_directory,' \
+ 'ALPHA_MESI_Two_Level,' \
'ALPHA_MOESI_CMP_directory,' \
'ALPHA_MOESI_CMP_token,' \
'MIPS,' \
+ 'NULL,' \
'POWER,' \
'SPARC,' \
- 'X86,' \
- 'ARM',
+ 'X86,X86_MESI_Two_Level,' \
+ 'ARM,' \
+ 'HSAIL_X86',
help="comma-separated build targets to test (default: '%default')")
add_option('--modes',
default='se,fs',
# start with compile-only targets, if any
if compile_variants:
- targets += ['%s/%s/m5.%s' % (options.build_dir, build, variant)
+ targets += ['%s/%s/gem5.%s' % (options.build_dir, build, variant)
for variant in compile_variants
for build in builds]
if not tests:
tests = ['quick']
elif 'all' in tests:
- tests = ['quick,long']
+ tests = ['quick', 'long']
# set up test targets for scons, since we don't have any quick SPARC
# full-system tests exclude it
if options.update_ref:
scons_opts += ' --update-ref'
+# We generally compile gem5.fast only to make sure it compiles OK;
+# it's not very useful to run as a regression test since assertions
+# are disabled. Thus there's not much point spending time on
+# link-time optimization.
+scons_opts += ' --no-lto'
+
cmd = 'scons --ignore-style %s %s' % (scons_opts, ' '.join(targets))
if options.no_exec:
print cmd