From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 10 Nov 2024 21:51:21 +0000 (+0100) Subject: [3.13] gh-126647: `Doc/using/configure.rst`: Add an entry for ``--enable-experimental... X-Git-Tag: v3.13.1~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4567ad2ce4a684a348777252878efa17244e0977;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-126647: `Doc/using/configure.rst`: Add an entry for ``--enable-experimental-jit`` option (GH-126648) (#126655) gh-126647: `Doc/using/configure.rst`: Add an entry for ``--enable-experimental-jit`` option (GH-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 f435de6765e0327995850d719534be38c9b5ec49) Co-authored-by: Kirill Podoprigora Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index d5a6ffb7bb33..3589ff36e7f9 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -303,6 +303,19 @@ General Options .. versionadded:: 3.13 +.. option:: --enable-experimental-jit=[no|yes|yes-off|interpreter] + + Indicate how to integrate the :ref:`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.