From 8f035d9191c22e33c947c9dce06c4333709d8bc9 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sun, 10 Nov 2024 17:51:57 +0200 Subject: [PATCH 1/4] Add an entry for ``--enable-experimental-jit`` --- Doc/using/configure.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 83994af795e3fc..e95562d7aec935 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -297,6 +297,16 @@ General Options .. versionadded:: 3.13 +.. option:: --enable-experimental-jit + Enables :ref:`JIT compiler `. + Possible values: + * ``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. + + .. versionadded:: 3.13 + .. option:: PKG_CONFIG Path to ``pkg-config`` utility. From 5312863d5d2d266814c08211d5a9b191ac34a986 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sun, 10 Nov 2024 18:29:42 +0200 Subject: [PATCH 2/4] Update Doc/using/configure.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- Doc/using/configure.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index e95562d7aec935..f0d4f3ea4ac515 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -297,13 +297,14 @@ General Options .. versionadded:: 3.13 -.. option:: --enable-experimental-jit - Enables :ref:`JIT compiler `. - Possible values: - * ``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. +.. 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. .. versionadded:: 3.13 From 360aee4a1572b9f2a4dab668df77c55af2d36091 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sun, 10 Nov 2024 18:30:45 +0200 Subject: [PATCH 3/4] Apply Benedikt's suggestion --- Doc/using/configure.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index f0d4f3ea4ac515..24d64bd045d800 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -306,6 +306,8 @@ General Options * ``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 From 99f3f7e72f92f6326928aa85dea08800454cdde3 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sun, 10 Nov 2024 19:04:37 +0200 Subject: [PATCH 4/4] Update Doc/using/configure.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- Doc/using/configure.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 24d64bd045d800..5f1ee0c2a2e657 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -307,7 +307,7 @@ General Options * ``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