Mark more lit tests as hostonly to fix Android CI. (#16271)
Context:
https://github.com/openxla/iree/pull/16267#issuecomment-1918085332
Test run:
https://github.com/openxla/iree/actions/runs/7718833215/job/21041456573?pr=16271
diff --git a/tests/compiler_driver/BUILD.bazel b/tests/compiler_driver/BUILD.bazel
index f059afa..0c39820 100644
--- a/tests/compiler_driver/BUILD.bazel
+++ b/tests/compiler_driver/BUILD.bazel
@@ -30,6 +30,7 @@
include = ["*.mlir"],
),
cfg = "//tests:lit.cfg.py",
+ tags = ["hostonly"],
tools = [
"//tools:iree-compile",
"@llvm-project//llvm:FileCheck",
diff --git a/tests/compiler_driver/CMakeLists.txt b/tests/compiler_driver/CMakeLists.txt
index a0d0101..5ebc0fc 100644
--- a/tests/compiler_driver/CMakeLists.txt
+++ b/tests/compiler_driver/CMakeLists.txt
@@ -25,6 +25,8 @@
TOOLS
FileCheck
iree-compile
+ LABELS
+ "hostonly"
)
### BAZEL_TO_CMAKE_PRESERVES_ALL_CONTENT_BELOW_THIS_LINE ###
diff --git a/tests/transform_dialect/cpu/BUILD.bazel b/tests/transform_dialect/cpu/BUILD.bazel
index 2a7663c..7e95184 100644
--- a/tests/transform_dialect/cpu/BUILD.bazel
+++ b/tests/transform_dialect/cpu/BUILD.bazel
@@ -33,6 +33,7 @@
"transform_library.mlir",
],
tags = [
+ "hostonly",
"noasan",
"nomsan",
"notsan",
diff --git a/tests/transform_dialect/cpu/CMakeLists.txt b/tests/transform_dialect/cpu/CMakeLists.txt
index f674e91..7ddd39f 100644
--- a/tests/transform_dialect/cpu/CMakeLists.txt
+++ b/tests/transform_dialect/cpu/CMakeLists.txt
@@ -33,6 +33,7 @@
matmul_codegen_default_spec.mlir
transform_library.mlir
LABELS
+ "hostonly"
"noasan"
"nomsan"
"notsan"