From: Steve Reinhardt Date: Thu, 22 Aug 2013 00:31:08 +0000 (-0700) Subject: util/regress: set --no-lto on regressions X-Git-Tag: stable_2014_02_15~160 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecfe7dc3efb2622fef10a8be39c477148ded3d29;p=gem5.git util/regress: set --no-lto on regressions See comment for motivation. --- 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