From: Pablo Galindo Date: Fri, 9 Apr 2021 22:11:58 +0000 (+0100) Subject: Add ignore file for the abidump check (GH-25322) X-Git-Tag: v3.8.10~68 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=291d38d6e92ff6a665ea9b095f9d816ae42a1249;p=thirdparty%2FPython%2Fcpython.git Add ignore file for the abidump check (GH-25322) --- diff --git a/Doc/data/python3.8.abi.ignorefile b/Doc/data/python3.8.abi.ignorefile new file mode 100644 index 000000000000..a9c89f0a746c --- /dev/null +++ b/Doc/data/python3.8.abi.ignorefile @@ -0,0 +1,8 @@ +[suppress_type] +name_regexp = _Py.* + +[suppress_variable] +name_regexp = _Py.* + +[suppress_function] +name_regexp = _Py.* diff --git a/Makefile.pre.in b/Makefile.pre.in index 30280782216c..c328d35beb81 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -731,7 +731,9 @@ regen-abidump: all @$(UPDATE_FILE) $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new check-abidump: all - abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types --no-architecture --no-added-syms + abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types \ + --suppressions $(srcdir)/Doc/data/python$(LDVERSION).abi.ignorefile \ + --no-architecture --no-added-syms ############################################################################ # Regenerate all generated files