Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot

This is until we figure how to turn on the large code size model.
This commit is contained in:
Mehdi Amini 2021-06-24 17:47:50 +00:00
parent 9824f86760
commit 652f4b5140
3 changed files with 9 additions and 0 deletions

View File

@ -37,3 +37,7 @@ if 'HOME' in os.environ:
for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']:
if symbolizer in os.environ:
config.environment[symbolizer] = os.environ[symbolizer]
# FIXME: PPC needs to be switched to use the large code model
if 'powerpc' in config.host_triple:
config.unsupported = True

View File

@ -11,6 +11,7 @@ config.shlibdir = "@SHLIBDIR@"
config.mlir_src_root = "@MLIR_SOURCE_DIR@"
config.mlir_obj_root = "@MLIR_BINARY_DIR@"
config.mlir_tools_dir = "@MLIR_TOOLS_DIR@"
config.host_triple = "@LLVM_HOST_TRIPLE@"
# Support substitution of the tools_dir and build_mode with user parameters.
# This is used when we can't determine the tool dir at configuration time.

View File

@ -4,6 +4,10 @@ import sys
if sys.platform == 'win32':
config.unsupported = True
# FIXME: PPC needs to be switched to use the large code model
if 'powerpc' in config.host_triple:
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