Author: Manuel Jacob <m...@manueljacob.de> Branch: gcc-lto Changeset: r90504:381e11f5f483 Date: 2017-03-03 01:47 +0100 http://bitbucket.org/pypy/pypy/changeset/381e11f5f483/
Log: A branch to test the performance implications of GCC's LTO support. Start by passing -flto to the compiler on Linux. diff --git a/rpython/translator/platform/linux.py b/rpython/translator/platform/linux.py --- a/rpython/translator/platform/linux.py +++ b/rpython/translator/platform/linux.py @@ -13,7 +13,7 @@ + os.environ.get('LDFLAGS', '').split()) extra_libs = ('-lrt',) cflags = tuple( - ['-O3', '-pthread', '-fomit-frame-pointer', + ['-O3', '-pthread', '-fomit-frame-pointer', '-flto', '-Wall', '-Wno-unused'] + os.environ.get('CFLAGS', '').split()) standalone_only = () _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit