We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c259944 commit 053c695Copy full SHA for 053c695
collect_executables.py
@@ -24,13 +24,16 @@ def get_fx_platform():
24
if _system == "Darwin":
25
return "mac"
26
if _system == "Linux":
27
+ # ARM specifications in uname().machine don't have 32/64
28
if "64" in u.machine:
29
return "linux-x86_64"
30
+ elif "arm" in u.machine.lower():
31
+ return "linux-aarch64"
32
return "linux-i686"
33
if _system == "Windows":
- if u.machine == "AMD64" and not environ.get("GITHUB_ACTIONS"):
34
+ if "arm" in u.machine.lower():
35
return "win64-aarch64"
- if "64" in u.machine:
36
+ elif "64" in u.machine:
37
return "win64"
38
return "win32"
39
0 commit comments