2019-05-30 04:35:44 +08:00
|
|
|
import sys
|
|
|
|
|
|
|
|
# FIXME: llvm orc does not support the COFF rtld.
|
|
|
|
if sys.platform == 'win32':
|
2020-06-19 11:21:36 +08:00
|
|
|
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
|
|
|
|
|