brintos

brintos / llvm-project-archived public Read only

0
0
Text · 913 B · 46a3ff9 Raw
40 lines · plain
1root = config.root2targets = root.targets3if 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 = True12 13# FIXME: autoconf and cmake produce different arch names. We should normalize14# 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 = True30 31if "i386-apple-darwin" in root.target_triple:32    config.unsupported = True33 34if "powerpc" in root.target_triple and not "powerpc64" in root.target_triple:35    config.unsupported = True36 37# ExecutionEngine tests are not expected to pass in a cross-compilation setup.38if "native" not in config.available_features:39    config.unsupported = True40