Skip to content

Commit

Permalink
pythongh-126647: Doc/using/configure.rst: Add an entry for ``--enab…
Browse files Browse the repository at this point in the history
…le-experimental-jit`` option (python#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 <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
Eclips4 and picnixz authored Nov 10, 2024
1 parent ca878b6 commit f435de6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f435de6

Please sign in to comment.