summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2021-07-19 10:52:56 (GMT)
committerGitHub <noreply@github.com>2021-07-19 10:52:56 (GMT)
commitb2cf2513f9184c850a69fab718532b4f7c6a003d (patch)
tree825b69796206e39d8703842958ef2d19ea951ca9 /Doc/using
parent635bfe8162981332b36cc556bac78e869af579c2 (diff)
downloadcpython-b2cf2513f9184c850a69fab718532b4f7c6a003d.zip
cpython-b2cf2513f9184c850a69fab718532b4f7c6a003d.tar.gz
cpython-b2cf2513f9184c850a69fab718532b4f7c6a003d.tar.bz2
bpo-44340: Add support for building with clang full/thin lto (GH-27231)
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/configure.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index b1d1623..a545d5a 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -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