Skip to content

Commit f435de6

Browse files
Eclips4picnixz
andauthored
gh-126647: Doc/using/configure.rst: Add an entry for --enable-experimental-jit option (#126648)
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 <[email protected]>
1 parent ca878b6 commit f435de6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Doc/using/configure.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,19 @@ General Options
297297

298298
.. versionadded:: 3.13
299299

300+
.. option:: --enable-experimental-jit=[no|yes|yes-off|interpreter]
301+
302+
Indicate how to integrate the :ref:`JIT compiler <whatsnew313-jit-compiler>`.
303+
304+
* ``no`` - build the interpreter without the JIT.
305+
* ``yes`` - build the interpreter with the JIT.
306+
* ``yes-off`` - build the interpreter with the JIT but disable it by default.
307+
* ``interpreter`` - build the interpreter without the JIT, but with the tier 2 enabled interpreter.
308+
309+
By convention, ``--enable-experimental-jit`` is a shorthand for ``--enable-experimental-jit=yes``.
310+
311+
.. versionadded:: 3.13
312+
300313
.. option:: PKG_CONFIG
301314

302315
Path to ``pkg-config`` utility.

0 commit comments

Comments
 (0)