mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.12] gh-112088: Run autoreconf in GHA check_generated_files (GH-112090) (#112159)
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.
(cherry picked from commit d9fd33a869
)
This commit is contained in:
parent
2e17a81719
commit
a498433df2
9 changed files with 139 additions and 168 deletions
|
@ -57,14 +57,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