Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Cpython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sip
Cpython
Commits
1528d249
Unverified
Commit
1528d249
authored
Dec 6, 2021
by
Miss Islington (bot)
Committed by
GitHub
Dec 6, 2021
Browse files
Options
Downloads
Patches
Plain Diff
[3.10] bpo-44035: Check autoconf files thoroughly (GH-29935) (GH-29937)
Co-authored-by:
Christian Heimes
<
christian@python.org
>
parent
20801982
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/build.yml
+16
-7
16 additions, 7 deletions
.github/workflows/build.yml
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
Misc/NEWS.d/next/Build/2021-12-06-09-31-27.bpo-44035.BiO4XC.rst
+2
-0
2 additions, 0 deletions
...EWS.d/next/Build/2021-12-06-09-31-27.bpo-44035.BiO4XC.rst
with
20 additions
and
7 deletions
.github/workflows/build.yml
+
16
−
7
View file @
1528d249
...
...
@@ -85,6 +85,18 @@ jobs:
-
uses
:
actions/setup-python@v2
-
name
:
Install Dependencies
run
:
sudo ./.github/workflows/posix-deps-apt.sh
-
name
:
Add ccache to PATH
run
:
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
-
name
:
Configure ccache action
uses
:
hendrikmuhs/ccache-action@v1
-
name
:
Check Autoconf version 2.69 and aclocal 1.16.3
run
:
|
grep "Generated by GNU Autoconf 2.69" configure
grep "aclocal 1.16.3" aclocal.m4
grep -q "runstatedir" configure
grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
-
name
:
Regenerate autoconf files
run
:
docker run --rm -v $(pwd):/src quay.io/tiran/cpython_autoconf:269
-
name
:
Build CPython
run
:
|
# Build Python with the libpython dynamic library
...
...
@@ -95,9 +107,10 @@ jobs:
run
:
|
changes=$(git status --porcelain)
# Check for changes in regenerated files
if ! test -z "$changes"
then
echo "Generated files not up to date. Perhaps you forgot to run make regen-all or build.bat --regen ;)"
if test -n "$changes"; then
echo "Generated files not up to date."
echo "Perhaps you forgot to run make regen-all or build.bat --regen. ;)"
echo "configure files must be regenerated with a specific, unpatched version of autoconf."
echo "$changes"
exit 1
fi
...
...
@@ -105,10 +118,6 @@ jobs:
run
:
make smelly
-
name
:
Check limited ABI symbols
run
:
make check-limited-abi
-
name
:
Check Autoconf version
2.69
run
:
|
grep "Generated by GNU Autoconf 2.69" configure
grep "PKG_PROG_PKG_CONFIG" aclocal.m4
build_win32
:
name
:
'
Windows
(x86)'
...
...
This diff is collapsed.
Click to expand it.
.gitignore
+
2
−
0
View file @
1528d249
...
...
@@ -112,6 +112,8 @@ Tools/unicode/data/
/config.log
/config.status
/config.status.lineno
# hendrikmuhs/ccache-action@v1
/.ccache
/platform
/profile-clean-stamp
/profile-run-stamp
...
...
This diff is collapsed.
Click to expand it.
Misc/NEWS.d/next/Build/2021-12-06-09-31-27.bpo-44035.BiO4XC.rst
0 → 100644
+
2
−
0
View file @
1528d249
CI now verifies that autoconf files have been regenerated with a current and
unpatched autoconf package.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment