[Mlir-commits] [mlir] 1df981f - Revert "Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot"

Lei Huang llvmlistbot at llvm.org
Tue Jun 29 16:05:51 PDT 2021


Author: Lei Huang
Date: 2021-06-29T18:03:23-05:00
New Revision: 1df981f43ae9041ed326a3d806fcbb8278211ca4

URL: https://github.com/llvm/llvm-project/commit/1df981f43ae9041ed326a3d806fcbb8278211ca4
DIFF: https://github.com/llvm/llvm-project/commit/1df981f43ae9041ed326a3d806fcbb8278211ca4.diff

LOG: Revert "Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot"

This reverts commit 652f4b5140e231b679564a86019307291f7bf7cc.

Re-enable MLLIR JIT tests.
The MLIR Bot was updated to export LD_LIBRARY_PATH=/usr/lib64, which
seem to fix this issue.

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 7cde5003bc07c..d645971074f54 100644
--- a/mlir/test/Unit/lit.cfg.py
+++ b/mlir/test/Unit/lit.cfg.py
@@ -37,7 +37,3 @@
 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 813a8e297275d..5ad2f7dda8c25 100644
--- a/mlir/test/Unit/lit.site.cfg.py.in
+++ b/mlir/test/Unit/lit.site.cfg.py.in
@@ -11,7 +11,6 @@ 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 2bf36f7688185..012da916f226b 100644
--- a/mlir/test/mlir-cpu-runner/lit.local.cfg
+++ b/mlir/test/mlir-cpu-runner/lit.local.cfg
@@ -4,10 +4,6 @@ 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