]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-126647: `Doc/using/configure.rst`: Add an entry for ``--enable-experimental-jit...
authorKirill Podoprigora <kirill.bast9@mail.ru>
Sun, 10 Nov 2024 21:44:56 +0000 (23:44 +0200)
committerGitHub <noreply@github.com>
Sun, 10 Nov 2024 21:44:56 +0000 (23:44 +0200)
Add an entry for the ``--enable-experimental-jit`` option in ``Doc/using/configure.rst``.
This was added as an experimental option in CPython 3.13.
Possible values for it:
* `no` - don't build the JIT.
* `yes` - build the JIT.
* `yes-off` - build the JIT but disable it by default.
* `interpreter` - don't build the JIT but enable tier 2 interpreter instead.

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Doc/using/configure.rst

index 83994af795e3fc9438f9035e05291500d40f7658..5f1ee0c2a2e657942129b36f78d1b62443e9b8b1 100644 (file)
@@ -297,6 +297,19 @@ General Options
 
    .. versionadded:: 3.13
 
+.. option:: --enable-experimental-jit=[no|yes|yes-off|interpreter]
+
+   Indicate how to integrate the :ref:`JIT compiler <whatsnew313-jit-compiler>`.
+
+   * ``no`` - build the interpreter without the JIT.
+   * ``yes`` - build the interpreter with the JIT.
+   * ``yes-off`` - build the interpreter with the JIT but disable it by default.
+   * ``interpreter`` - build the interpreter without the JIT, but with the tier 2 enabled interpreter.
+
+   By convention, ``--enable-experimental-jit`` is a shorthand for ``--enable-experimental-jit=yes``.
+
+   .. versionadded:: 3.13
+
 .. option:: PKG_CONFIG
 
    Path to ``pkg-config`` utility.