|
|
@@ -415,6 +415,8 @@ elif target == 'linux' and (os.path.isfile("/lib/libc-2.5.so") or os.path.isfile
|
|
|
# This is manylinux1. A bit of a sloppy check, though.
|
|
|
if GetTargetArch() in ('x86_64', 'amd64'):
|
|
|
PLATFORM = 'manylinux1-x86_64'
|
|
|
+ elif GetTargetArch() in ('arm64', 'aarch64'):
|
|
|
+ PLATFORM = 'manylinux1-aarch64'
|
|
|
else:
|
|
|
PLATFORM = 'manylinux1-i686'
|
|
|
|
|
|
@@ -422,6 +424,8 @@ elif target == 'linux' and (os.path.isfile("/lib/libc-2.12.so") or os.path.isfil
|
|
|
# Same sloppy check for manylinux2010.
|
|
|
if GetTargetArch() in ('x86_64', 'amd64'):
|
|
|
PLATFORM = 'manylinux2010-x86_64'
|
|
|
+ elif GetTargetArch() in ('arm64', 'aarch64'):
|
|
|
+ PLATFORM = 'manylinux2010-aarch64'
|
|
|
else:
|
|
|
PLATFORM = 'manylinux2010-i686'
|
|
|
|
|
|
@@ -429,6 +433,8 @@ elif target == 'linux' and (os.path.isfile("/lib/libc-2.17.so") or os.path.isfil
|
|
|
# Same sloppy check for manylinux2014.
|
|
|
if GetTargetArch() in ('x86_64', 'amd64'):
|
|
|
PLATFORM = 'manylinux2014-x86_64'
|
|
|
+ elif GetTargetArch() in ('arm64', 'aarch64'):
|
|
|
+ PLATFORM = 'manylinux2014-aarch64'
|
|
|
else:
|
|
|
PLATFORM = 'manylinux2014-i686'
|
|
|
|
|
|
@@ -436,6 +442,8 @@ elif target == 'linux' and (os.path.isfile("/lib/i386-linux-gnu/libc-2.24.so") o
|
|
|
# Same sloppy check for manylinux_2_24.
|
|
|
if GetTargetArch() in ('x86_64', 'amd64'):
|
|
|
PLATFORM = 'manylinux_2_24-x86_64'
|
|
|
+ elif GetTargetArch() in ('arm64', 'aarch64'):
|
|
|
+ PLATFORM = 'manylinux_2_24-aarch64'
|
|
|
else:
|
|
|
PLATFORM = 'manylinux_2_24-i686'
|
|
|
|