summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2022-09-16 10:40:05 (GMT)
committerGitHub <noreply@github.com>2022-09-16 10:40:05 (GMT)
commite47b96c44f7b48a1e95de24f38f6e3de879b4d61 (patch)
tree56cd8f495c33eccdf04681132d1d84009dd5434c /Doc/using
parent16c33a9676e2f3ef330d09f2ab515c56636fa09f (diff)
downloadcpython-e47b96c44f7b48a1e95de24f38f6e3de879b4d61.zip
cpython-e47b96c44f7b48a1e95de24f38f6e3de879b4d61.tar.gz
cpython-e47b96c44f7b48a1e95de24f38f6e3de879b4d61.tar.bz2
gh-89536: Use ThinLTO policy if possible (gh-96766)
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/configure.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index cd55403..ec57c88 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -232,6 +232,9 @@ also be used to improve performance.
.. versionadded:: 3.11
To use ThinLTO feature, use ``--with-lto=thin`` on Clang.
+ .. versionchanged:: 3.12
+ Use ThinLTO as the default optimization policy on Clang if the compiler accepts the flag.
+
.. cmdoption:: --enable-bolt
Enable usage of the `BOLT post-link binary optimizer