aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Doc/using/configure.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/using/configure.rst')
-rw-r--r--Doc/using/configure.rst31
1 files changed, 23 insertions, 8 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index 3d3776acbc7..df81a330549 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -290,8 +290,8 @@ General Options
.. option:: --disable-gil
- Enables **experimental** support for running Python without the
- :term:`global interpreter lock` (GIL): free threading build.
+ Enables support for running Python without the :term:`global interpreter
+ lock` (GIL): free threading build.
Defines the ``Py_GIL_DISABLED`` macro and adds ``"t"`` to
:data:`sys.abiflags`.
@@ -302,14 +302,21 @@ General Options
.. option:: --enable-experimental-jit=[no|yes|yes-off|interpreter]
- Indicate how to integrate the :ref:`JIT compiler <whatsnew313-jit-compiler>`.
+ Indicate how to integrate the :ref:`experimental just-in-time compiler <whatsnew314-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.
+ * ``no``: Don't build the JIT.
+ * ``yes``: Enable the JIT. To disable it at runtime, set the environment
+ variable :envvar:`PYTHON_JIT=0 <PYTHON_JIT>`.
+ * ``yes-off``: Build the JIT, but disable it by default. To enable it at
+ runtime, set the environment variable :envvar:`PYTHON_JIT=1 <PYTHON_JIT>`.
+ * ``interpreter``: Enable the "JIT interpreter" (only useful for those
+ debugging the JIT itself). To disable it at runtime, set the environment
+ variable :envvar:`PYTHON_JIT=0 <PYTHON_JIT>`.
- By convention, ``--enable-experimental-jit`` is a shorthand for ``--enable-experimental-jit=yes``.
+ ``--enable-experimental-jit=no`` is the default behavior if the option is not
+ provided, and ``--enable-experimental-jit`` is shorthand for
+ ``--enable-experimental-jit=yes``. See :file:`Tools/jit/README.md` for more
+ information, including how to install the necessary build-time dependencies.
.. note::
@@ -438,6 +445,14 @@ Options for third-party dependencies
C compiler and linker flags for ``libuuid``, used by :mod:`uuid` module,
overriding ``pkg-config``.
+.. option:: LIBZSTD_CFLAGS
+.. option:: LIBZSTD_LIBS
+
+ C compiler and linker flags for ``libzstd``, used by :mod:`compression.zstd` module,
+ overriding ``pkg-config``.
+
+ .. versionadded:: 3.14
+
.. option:: PANEL_CFLAGS
.. option:: PANEL_LIBS