mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Add ABI dump Makefile target (#94136)
This commit is contained in:
parent
e52009d3f6
commit
dd39e29ccb
1 changed files with 8 additions and 0 deletions
|
@ -1201,6 +1201,14 @@ regen-global-objects: $(srcdir)/Tools/scripts/generate_global_objects.py
|
||||||
############################################################################
|
############################################################################
|
||||||
# ABI
|
# ABI
|
||||||
|
|
||||||
|
regen-abidump: all
|
||||||
|
@$(MKDIR_P) $(srcdir)/Doc/data/
|
||||||
|
abidw "libpython$(LDVERSION).so" --no-architecture --out-file $(srcdir)/Doc/data/python$(LDVERSION).abi.new
|
||||||
|
@$(UPDATE_FILE) $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new
|
||||||
|
|
||||||
|
check-abidump: all
|
||||||
|
abidiff $(srcdir)/Doc/data/python$(LDVERSION).abi "libpython$(LDVERSION).so" --drop-private-types --no-architecture --no-added-syms
|
||||||
|
|
||||||
regen-limited-abi: all
|
regen-limited-abi: all
|
||||||
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/stable_abi.py --generate-all $(srcdir)/Misc/stable_abi.toml
|
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/stable_abi.py --generate-all $(srcdir)/Misc/stable_abi.toml
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue