Lines Matching refs:host_arch
15 host_arch = platform.machine()
18 if re.match(r'i.86', host_arch) or host_arch == 'i86pc':
19 host_arch = 'ia32'
20 elif host_arch in ['x86_64', 'amd64']:
21 host_arch = 'x64'
22 elif host_arch.startswith('arm'):
23 host_arch = 'arm'
24 elif host_arch.startswith('aarch64'):
25 host_arch = 'arm64'
26 elif host_arch.startswith('mips'):
27 host_arch = 'mips'
28 elif host_arch.startswith('ppc'):
29 host_arch = 'ppc'
30 elif host_arch.startswith('s390'):
31 host_arch = 's390'
38 if host_arch == 'x64' and platform.architecture()[0] == '32bit':
39 host_arch = 'ia32'
40 if host_arch == 'arm64' and platform.architecture()[0] == '32bit':
41 host_arch = 'arm'
43 return host_arch