in collect_executables.py [0:0]
def get_fx_platform():
u = uname()
_system = environ.get("FX_PLATFORM") or u.system
if _system == "Darwin":
return "mac"
if _system == "Linux":
# ARM specifications in uname().machine don't have 32/64
if "64" in u.machine:
return "linux-x86_64"
elif "arm" in u.machine.lower():
return "linux-aarch64"
return "linux-i686"
if _system == "Windows":
if "arm" in u.machine.lower():
return "win64-aarch64"
elif "64" in u.machine:
return "win64"
return "win32"