We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The LTO flag is passed in as ``--with-lto`
python-build-standalone/cpython-unix/build-cpython.sh
Line 430 in aa430e2
However, on version 3.12 and higher, Clang defaults to the ThinLTO policy https://docs.python.org/3.14/using/configure.html#cmdoption-with-lto
This leaves quite a bit of perf on the table for macOS on 3.13 and higher python/cpython#122580
The fix should be to pass it --with-lto=full on 3.12 and higher.
--with-lto=full
The text was updated successfully, but these errors were encountered:
Note that this might make builds take 2x time for LTO!
Sorry, something went wrong.
Not reproducible in upstream clang. So this might be an Apple Clang bug.
Successfully merging a pull request may close this issue.
The LTO flag is passed in as ``--with-lto`
python-build-standalone/cpython-unix/build-cpython.sh
Line 430 in aa430e2
However, on version 3.12 and higher, Clang defaults to the ThinLTO policy https://docs.python.org/3.14/using/configure.html#cmdoption-with-lto
This leaves quite a bit of perf on the table for macOS on 3.13 and higher python/cpython#122580
The fix should be to pass it
--with-lto=full
on 3.12 and higher.The text was updated successfully, but these errors were encountered: