diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2013-08-21 17:31:08 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2013-08-21 17:31:08 -0700 |
commit | ecfe7dc3efb2622fef10a8be39c477148ded3d29 (patch) | |
tree | 3881b29a6aa76a887dbea4f5899e01fe5115609e /util/regress | |
parent | e351e846e3733b96ab8e4caa077a1f156f30ed72 (diff) | |
download | gem5-ecfe7dc3efb2622fef10a8be39c477148ded3d29.tar.xz |
util/regress: set --no-lto on regressions
See comment for motivation.
Diffstat (limited to 'util/regress')
-rwxr-xr-x | util/regress | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/regress b/util/regress index 8037484f5..b17da8797 100755 --- a/util/regress +++ b/util/regress @@ -155,6 +155,12 @@ if options.keep_going: 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 |