Skip to content

Commit e8c8d8a

Browse files
authored
Put in workaround to rename manylinux_arm64 to manylinux_aarch64 (#7149)
1 parent d6f522e commit e8c8d8a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/api/python/setup.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,14 @@ def run(self):
298298
if arch == 'x64':
299299
plat_name = 'manylinux2014_x86_64'
300300
elif arch == 'arm64':
301-
plat_name = 'manylinux2014_arm64'
301+
# context on why are we match on arm64
302+
# but use aarch64 on the plat_name is
303+
# due to a workaround current python
304+
# legacy build doesn't support aarch64
305+
# so using the currently supported arm64
306+
# build and simply rename it to aarch64
307+
# see full context on #7148
308+
plat_name = 'manylinux2014_aarch64'
302309
else:
303310
plat_name = 'manylinux2014_i686'
304311
elif distos == 'linux' and os_id == 'alpine':

0 commit comments

Comments
 (0)