mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303)
Provides a richer platform tag for AIX that we expect to be sufficient for PEP 425 binary distribution identification. Any backports to earlier Python versions will be handled via setuptools. Patch by Michael Felt.
This commit is contained in:
parent
94d2c8df1a
commit
39afa2d314
8 changed files with 155 additions and 5 deletions
12
configure.ac
12
configure.ac
|
@ -2858,7 +2858,17 @@ case "$ac_sys_system" in
|
|||
AC_MSG_RESULT(yes)
|
||||
],[
|
||||
AC_MSG_RESULT(no)
|
||||
]);;
|
||||
])
|
||||
dnl The AIX_BUILDDATE is obtained from the kernel fileset - bos.mp64
|
||||
# BUILD_GNU_TYPE + AIX_BUILDDATE are used to construct the platform_tag
|
||||
# of the AIX system used to build/package Python executable. This tag serves
|
||||
# as a baseline for bdist module packages
|
||||
AC_MSG_CHECKING(for the system builddate)
|
||||
AIX_BUILDDATE=$(lslpp -Lcq bos.mp64 | awk -F: '{ print $NF }')
|
||||
AC_DEFINE_UNQUOTED([AIX_BUILDDATE], [$AIX_BUILDDATE],
|
||||
[BUILD_GNU_TYPE + AIX_BUILDDATE are used to construct the PEP425 tag of the build system.])
|
||||
AC_MSG_RESULT($AIX_BUILDDATE)
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue