]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ExecutionEngine/MCJIT/lit.local.cfg
Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / ExecutionEngine / MCJIT / lit.local.cfg
1 root = config.root
2 targets = set(root.targets_to_build.split())
3 if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
4    ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
5     config.unsupported = False
6 else:
7     config.unsupported = True
8
9 # FIXME: autoconf and cmake produce different arch names. We should normalize
10 # them before getting here.
11 if root.host_arch not in ['i386', 'x86', 'x86_64',
12                           'AArch64', 'ARM', 'Mips', 'PowerPC', 'ppc64', 'SystemZ']:
13     config.unsupported = True
14
15 if 'armv7' in root.host_arch:
16     config.unsupported = False
17
18 if 'i386-apple-darwin' in root.target_triple:
19     config.unsupported = True
20
21 if 'powerpc' in root.target_triple and not 'powerpc64' in root.target_triple:
22     config.unsupported = True
23
24 # ExecutionEngine tests are not expected to pass in a cross-compilation setup.
25 if 'native' not in config.available_features:
26     config.unsupported = True