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('mips'):
25 host_arch = 'mips'
26 elif host_arch.startswith('ppc'):
27 host_arch = 'ppc'
28 elif host_arch.startswith('s390'):
29 host_arch = 's390'
36 if host_arch == 'x64' and platform.architecture()[0] == '32bit':
37 host_arch = 'ia32'
39 return host_arch