xref: /llvm-project/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg (revision ca18b4a0c1324ae679490add3ad3bbd2077b804f)
1root = config.root
2targets = root.targets
3if not (
4    ("X86" in targets)
5    | ("AArch64" in targets)
6    | ("ARM" in targets)
7    | ("Mips" in targets)
8    | ("PowerPC" in targets)
9    | ("SystemZ" in targets)
10):
11    config.unsupported = True
12
13# FIXME: autoconf and cmake produce different arch names. We should normalize
14# them before getting here.
15if root.host_arch not in [
16    "i386",
17    "x86",
18    "x86_64",
19    "AMD64",
20    "AArch64",
21    "ARM",
22    "armv7",
23    "Mips",
24    "PowerPC",
25    "ppc64",
26    "ppc64le",
27    "SystemZ",
28]:
29    config.unsupported = True
30
31if "i386-apple-darwin" in root.target_triple:
32    config.unsupported = True
33
34if "powerpc" in root.target_triple and not "powerpc64" in root.target_triple:
35    config.unsupported = True
36
37# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
38if "native" not in config.available_features:
39    config.unsupported = True
40