File tree 3 files changed +12
-1
lines changed
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
150
150
# Ignore ./python binary on Unix but still look into ./Python/ directory.
151
151
/python
152
152
! /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
1204
1204
regen-abidump: all
1205
1205
@$(MKDIR_P) $(srcdir)/Doc/data/
1206
1206
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
1208
1208
1209
1209
check-abidump: all
1210
1210
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