import sys | |
# FIXME: llvm orc does not support the COFF rtld. | |
if sys.platform == 'win32': | |
config.unsupported = True | |
# Requires a non-empty default triple for these tests. | |
# Passing ` -DLLVM_DEFAULT_TARGET_TRIPLE="" ` when the | |
# host target isn't available is how LLVM filters | |
# tests that require the host target to be available | |
# for JIT tests. | |
if 'default_triple' not in config.available_features: | |
config.unsupported = True | |