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