[Mlir-commits] [mlir] ddc496d - Exclude running MLIR tests for Toy example Ch6 and Ch7 when JIT is unavailable

Mehdi Amini llvmlistbot at llvm.org
Wed Jan 25 06:33:06 PST 2023


Author: Mehdi Amini
Date: 2023-01-25T06:32:44-08:00
New Revision: ddc496d184b2698c8fb1865cdd9c22cdb4012ff5

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

LOG: Exclude running MLIR tests for Toy example Ch6 and Ch7 when JIT is unavailable

Added: 
    mlir/test/Examples/Toy/Ch6/lit.local.cfg
    mlir/test/Examples/Toy/Ch7/lit.local.cfg

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/mlir/test/Examples/Toy/Ch6/lit.local.cfg b/mlir/test/Examples/Toy/Ch6/lit.local.cfg
new file mode 100644
index 000000000000..c5aeb13c427c
--- /dev/null
+++ b/mlir/test/Examples/Toy/Ch6/lit.local.cfg
@@ -0,0 +1,5 @@
+# Requires native execution.
+if 'host-supports-jit' not in config.available_features:
+    config.unsupported = True
+
+

diff  --git a/mlir/test/Examples/Toy/Ch7/lit.local.cfg b/mlir/test/Examples/Toy/Ch7/lit.local.cfg
new file mode 100644
index 000000000000..c5aeb13c427c
--- /dev/null
+++ b/mlir/test/Examples/Toy/Ch7/lit.local.cfg
@@ -0,0 +1,5 @@
+# Requires native execution.
+if 'host-supports-jit' not in config.available_features:
+    config.unsupported = True
+
+


        


More information about the Mlir-commits mailing list