File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ set -ex
2+
3+ export DEBIAN_FRONTEND=noninteractive
4+ ./.github/workflows/posix-deps-apt.sh
5+ apt-get install -yq abigail-tools python3
6+ export CFLAGS=" -g3 -O0"
7+ ./configure --enable-shared && make
8+ make regen-abidump
Original file line number Diff line number Diff line change @@ -150,3 +150,6 @@ Python/frozen_modules/MANIFEST
150150# Ignore ./python binary on Unix but still look into ./Python/ directory.
151151/python
152152! /Python /
153+
154+ # main branch only: ABI files are not checked/maintained
155+ Doc /data /python * .abi
Original file line number Diff line number Diff line change @@ -1204,7 +1204,7 @@ regen-global-objects: $(srcdir)/Tools/scripts/generate_global_objects.py
12041204regen-abidump: all
12051205 @$(MKDIR_P) $(srcdir)/Doc/data/
12061206 abidw "libpython$(LDVERSION).so" --no-architecture --out-file $(srcdir)/Doc/data/python$(LDVERSION).abi.new
1207- @$(UPDATE_FILE) $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new
1207+ @$(UPDATE_FILE) --create $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new
12081208
12091209check-abidump: all
12101210 abidiff $(srcdir)/Doc/data/python$(LDVERSION).abi "libpython$(LDVERSION).so" --drop-private-types --no-architecture --no-added-syms
You can’t perform that action at this time.
0 commit comments