Skip to content

Commit dd39e29

Browse files
authored
Add ABI dump Makefile target (#94136)
1 parent e52009d commit dd39e29

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile.pre.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,14 @@ regen-global-objects: $(srcdir)/Tools/scripts/generate_global_objects.py
12011201
############################################################################
12021202
# ABI
12031203

1204+
regen-abidump: all
1205+
@$(MKDIR_P) $(srcdir)/Doc/data/
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
1208+
1209+
check-abidump: all
1210+
abidiff $(srcdir)/Doc/data/python$(LDVERSION).abi "libpython$(LDVERSION).so" --drop-private-types --no-architecture --no-added-syms
1211+
12041212
regen-limited-abi: all
12051213
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/stable_abi.py --generate-all $(srcdir)/Misc/stable_abi.toml
12061214

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy