Lines Matching refs:host_arch
43 host_arch = platform.machine()
46 if re.match(r'i.86', host_arch) or host_arch == 'i86pc':
47 host_arch = 'ia32'
48 elif host_arch in ['x86_64', 'amd64']:
49 host_arch = 'x64'
50 elif host_arch.startswith('arm'):
51 host_arch = 'arm'
52 elif host_arch == 'aarch64':
53 host_arch = 'arm64'
54 elif host_arch == 'mips64':
55 host_arch = 'mips64el'
56 elif host_arch.startswith('mips'):
57 host_arch = 'mipsel'
63 if host_arch == 'x64' and platform.architecture()[0] == '32bit':
64 host_arch = 'ia32'
66 return host_arch