diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2022-06-22 21:22:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 21:22:27 (GMT) |
commit | dd39e29ccb5119343c9db57c14cc1dac49716e51 (patch) | |
tree | b14517006774f69b4cd9cfdac79b1a53f7c9019c /Makefile.pre.in | |
parent | e52009d3f623c683aa22b4732fdf7fc2e55ede7c (diff) | |
download | cpython-dd39e29ccb5119343c9db57c14cc1dac49716e51.zip cpython-dd39e29ccb5119343c9db57c14cc1dac49716e51.tar.gz cpython-dd39e29ccb5119343c9db57c14cc1dac49716e51.tar.bz2 |
Add ABI dump Makefile target (#94136)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 5d0ae6b..20fc89e 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1201,6 +1201,14 @@ regen-global-objects: $(srcdir)/Tools/scripts/generate_global_objects.py ############################################################################ # 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 $(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/stable_abi.py --generate-all $(srcdir)/Misc/stable_abi.toml |