Skip to content

Commit 41915a0

Browse files
authored
[build] Identify aarch64 wheels (#8716)
1 parent faae67d commit 41915a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/taichi/_version_check.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ def check_version(cur_uuid):
1818
payload = {"version": version, "platform": "", "python": ""}
1919

2020
system = platform.system()
21-
if system == "Linux":
21+
u = platform.uname()
22+
if (u.system, u.machine) == ("Linux", "x86_64"):
2223
payload["platform"] = "manylinux_2_27_x86_64"
24+
elif (u.system, u.machine) in (("Linux", "arm64"), ("Linux", "aarch64")):
25+
payload["platform"] = "manylinux_2_27_aarch64"
2326
elif system == "Windows":
2427
payload["platform"] = "win_amd64"
2528
elif system == "Darwin":

0 commit comments

Comments
 (0)