diff options
author | Ken Jin <kenjin@python.org> | 2025-04-11 16:06:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-11 16:06:05 +0800 |
commit | bc0b94b30c9d65ba550daee2c2ef20035defd980 (patch) | |
tree | 31454462b3e00838a502f852fb1265f6c4027bad /Python/codegen.c | |
parent | 07b8d3117fdbc4e5be55aab0be428c278ec84e12 (diff) | |
download | cpython-bc0b94b30c9d65ba550daee2c2ef20035defd980.tar.gz cpython-bc0b94b30c9d65ba550daee2c2ef20035defd980.zip |
gh-132257: Remove -flto-partition=none for Linux LTO builds (GH-132258)
Change the default LTO flags on GCC to not pass -flto-partition=none, and allow parallelization of LTO. This has a multiple factor speedup for LTO build times on GCC, with no noticeable loss in performance.
On newer make and newer GCC, this passes the jobserver automatically to GCC (or more like GCC grabs it from the env vars).
On older make, this will have benign warnings about serial compilation. It's safe to ignore them.
Diffstat (limited to 'Python/codegen.c')
0 files changed, 0 insertions, 0 deletions