[Mlir-commits] [mlir] 652f4b5 - Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot

Mehdi Amini llvmlistbot at llvm.org
Thu Jun 24 10:49:09 PDT 2021


Author: Mehdi Amini
Date: 2021-06-24T17:48:46Z
New Revision: 652f4b5140e231b679564a86019307291f7bf7cc

URL: https://github.com/llvm/llvm-project/commit/652f4b5140e231b679564a86019307291f7bf7cc
DIFF: https://github.com/llvm/llvm-project/commit/652f4b5140e231b679564a86019307291f7bf7cc.diff

LOG: 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.

Added: 
    

Modified: 
    mlir/test/Unit/lit.cfg.py
    mlir/test/Unit/lit.site.cfg.py.in
    mlir/test/mlir-cpu-runner/lit.local.cfg

Removed: 
    


################################################################################
diff  --git a/mlir/test/Unit/lit.cfg.py b/mlir/test/Unit/lit.cfg.py
index d645971074f54..7cde5003bc07c 100644
--- a/mlir/test/Unit/lit.cfg.py
+++ b/mlir/test/Unit/lit.cfg.py
@@ -37,3 +37,7 @@
 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

diff  --git a/mlir/test/Unit/lit.site.cfg.py.in b/mlir/test/Unit/lit.site.cfg.py.in
index 5ad2f7dda8c25..813a8e297275d 100644
--- a/mlir/test/Unit/lit.site.cfg.py.in
+++ b/mlir/test/Unit/lit.site.cfg.py.in
@@ -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.

diff  --git a/mlir/test/mlir-cpu-runner/lit.local.cfg b/mlir/test/mlir-cpu-runner/lit.local.cfg
index 012da916f226b..2bf36f7688185 100644
--- a/mlir/test/mlir-cpu-runner/lit.local.cfg
+++ b/mlir/test/mlir-cpu-runner/lit.local.cfg
@@ -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


        


More information about the Mlir-commits mailing list