Lines Matching refs:host_arch
17 host_arch = platform.machine()
20 if re.match(r'i.86', host_arch) or host_arch == 'i86pc':
21 host_arch = 'ia32'
22 elif host_arch in ['x86_64', 'amd64']:
23 host_arch = 'x64'
24 elif host_arch.startswith('arm64'):
25 host_arch = 'arm64'
26 elif host_arch.startswith('arm'):
27 host_arch = 'arm'
28 elif host_arch.startswith('aarch64'):
29 host_arch = 'arm64'
30 elif host_arch.startswith('mips64'):
31 host_arch = 'mips64'
32 elif host_arch.startswith('mips'):
33 host_arch = 'mips'
34 elif host_arch.startswith('ppc'):
35 host_arch = 'ppc'
36 elif host_arch.startswith('s390'):
37 host_arch = 's390'
44 if host_arch == 'x64' and platform.architecture()[0] == '32bit':
45 host_arch = 'ia32'
46 if host_arch == 'arm64' and platform.architecture()[0] == '32bit':
47 host_arch = 'arm'
49 return host_arch