1if config.root.host_arch in ['Sparc', 'PowerPC', 'AArch64', 'SystemZ']:
2    config.unsupported = True
3
4# CMake and autoconf diverge in naming or host_arch
5if 'powerpc64' in config.root.target_triple:
6    config.unsupported = True
7
8if 'aarch64' in config.root.target_triple \
9    or 'arm64' in config.root.target_triple:
10        config.unsupported = True
11
12if 'hexagon' in config.root.target_triple:
13    config.unsupported = True
14
15if 'sparc' in config.root.target_triple:
16    config.unsupported = True
17
18# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
19if 'native' not in config.available_features:
20    config.unsupported = True
21