Skip to content

Commit ecb754a

Browse files
Eclips4picnixz
authored andcommitted
pythongh-126647: Doc/using/configure.rst: Add an entry for --enable-experimental-jit option (pythonGH-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. (cherry picked from commit f435de6) Co-authored-by: Kirill Podoprigora <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 79ad4bd commit ecb754a

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
@@ -303,6 +303,19 @@ General Options
303303

304304
.. versionadded:: 3.13
305305

306+
.. option:: --enable-experimental-jit=[no|yes|yes-off|interpreter]
307+
308+
Indicate how to integrate the :ref:`JIT compiler <whatsnew313-jit-compiler>`.
309+
310+
* ``no`` - build the interpreter without the JIT.
311+
* ``yes`` - build the interpreter with the JIT.
312+
* ``yes-off`` - build the interpreter with the JIT but disable it by default.
313+
* ``interpreter`` - build the interpreter without the JIT, but with the tier 2 enabled interpreter.
314+
315+
By convention, ``--enable-experimental-jit`` is a shorthand for ``--enable-experimental-jit=yes``.
316+
317+
.. versionadded:: 3.13
318+
306319
.. option:: PKG_CONFIG
307320

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

0 commit comments

Comments
 (0)