3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 08:35:31 +00:00

Put in workaround to rename manylinux_arm64 to manylinux_aarch64

This commit is contained in:
Steven Moy 2024-03-05 13:35:13 -08:00
parent d6f522e205
commit 7aaa5a8da2

View file

@ -298,7 +298,14 @@ if 'bdist_wheel' in sys.argv and '--plat-name' not in sys.argv:
if arch == 'x64':
plat_name = 'manylinux2014_x86_64'
elif arch == 'arm64':
plat_name = 'manylinux2014_arm64'
# context on why are we match on arm64
# but use aarch64 on the plat_name is
# due to a workaround current python
# legacy build doesn't support aarch64
# so using the currently supported arm64
# build and simply rename it to aarch64
# see full context on #7148
plat_name = 'manylinux2014_aarch64'
else:
plat_name = 'manylinux2014_i686'
elif distos == 'linux' and os_id == 'alpine':