mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
bpo-44340: Add support for building with clang full/thin lto (GH-27231)
This commit is contained in:
parent
635bfe8162
commit
b2cf2513f9
5 changed files with 107 additions and 33 deletions
|
|
@ -171,7 +171,7 @@ recommended for best performance.
|
|||
|
||||
.. versionadded:: 3.8
|
||||
|
||||
.. cmdoption:: --with-lto
|
||||
.. cmdoption:: --with-lto=[full|thin|no|yes]
|
||||
|
||||
Enable Link Time Optimization (LTO) in any build (disabled by default).
|
||||
|
||||
|
|
@ -180,6 +180,9 @@ recommended for best performance.
|
|||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
.. versionadded:: 3.11
|
||||
To use ThinLTO feature, use ``--with-lto=thin`` on Clang.
|
||||
|
||||
.. cmdoption:: --with-computed-gotos
|
||||
|
||||
Enable computed gotos in evaluation loop (enabled by default on supported
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue