]> git.proxmox.com Git - rustc.git/blame - src/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
Imported Upstream version 1.0.0+dfsg1
[rustc.git] / src / llvm / test / ExecutionEngine / MCJIT / lit.local.cfg
CommitLineData
1a4d82fc
JJ
1root = config.root
2targets = root.targets
3if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
4 ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
223e47cc
LB
5 config.unsupported = False
6else:
7 config.unsupported = True
8
1a4d82fc
JJ
9# FIXME: autoconf and cmake produce different arch names. We should normalize
10# them before getting here.
11if root.host_arch not in ['i386', 'x86', 'x86_64', 'AMD64',
12 'AArch64', 'ARM', 'Mips', 'PowerPC', 'ppc64', 'SystemZ']:
223e47cc
LB
13 config.unsupported = True
14
1a4d82fc
JJ
15if 'armv7' in root.host_arch:
16 config.unsupported = False
17
18if 'i386-apple-darwin' in root.target_triple:
970d7e83
LB
19 config.unsupported = True
20
21if 'powerpc' in root.target_triple and not 'powerpc64' in root.target_triple:
223e47cc 22 config.unsupported = True
1a4d82fc
JJ
23
24# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
25if 'native' not in config.available_features:
26 config.unsupported = True