summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-11-15 20:47:14 (GMT)
committerGitHub <noreply@github.com>2023-11-15 20:47:14 (GMT)
commitd9fd33a869d2be769ff596530f63ee099465b037 (patch)
tree3fc6592badc8493fd767e1d56b7bb5d3fe5d2540 /Doc
parent7e2308aaa29419eadeef3a349c7c4d78e2cbc989 (diff)
downloadcpython-d9fd33a869d2be769ff596530f63ee099465b037.zip
cpython-d9fd33a869d2be769ff596530f63ee099465b037.tar.gz
cpython-d9fd33a869d2be769ff596530f63ee099465b037.tar.bz2
gh-112088: Run autoreconf in GHA check_generated_files (#112090)
The "Check if generated files are up to date" job of GitHub Actions now runs the "autoreconf -ivf -Werror" command instead of the "make regen-configure" command to avoid depending on the external quay.io server. Add Tools/build/regen-configure.sh script to regenerate the configure with an Ubuntu container image. The "quay.io/tiran/cpython_autoconf:271" container image (https://github.com/tiran/cpython_autoconf) is no longer used.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/using/configure.rst17
1 files changed, 12 insertions, 5 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index 69f691d..b51546e 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -74,14 +74,21 @@ files. Commands to regenerate all generated files::
The ``Makefile.pre.in`` file documents generated files, their inputs, and tools used
to regenerate them. Search for ``regen-*`` make targets.
-The ``make regen-configure`` command runs `tiran/cpython_autoconf
-<https://github.com/tiran/cpython_autoconf>`_ container for reproducible build;
-see container ``entry.sh`` script. The container is optional, the following
-command can be run locally, the generated files depend on autoconf and aclocal
-versions::
+configure script
+----------------
+
+The ``make regen-configure`` command regenerates the ``aclocal.m4`` file and
+the ``configure`` script using the ``Tools/build/regen-configure.sh`` shell
+script which uses an Ubuntu container to get the same tools versions and have a
+reproducible output.
+
+The container is optional, the following command can be run locally::
autoreconf -ivf -Werror
+The generated files can change depending on the exact ``autoconf-archive``,
+``aclocal`` and ``pkg-config`` versions.
+
.. _configure-options: