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