mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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.
This commit is contained in:
parent
7e2308aaa2
commit
d9fd33a869
9 changed files with 131 additions and 160 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue