Skip to content

Commit

Permalink
Put in workaround to rename manylinux_arm64 to manylinux_aarch64 (#7149)
Browse files Browse the repository at this point in the history
  • Loading branch information
smoy committed Mar 5, 2024
1 parent d6f522e commit e8c8d8a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/api/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,14 @@ def run(self):
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':
Expand Down

0 comments on commit e8c8d8a

Please sign in to comment.