Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build_tools/cmake/iree_check_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ function(iree_check_test)
${ARGN}
)

if(CMAKE_CROSSCOMPILING AND "hostonly" IN_LIST _RULE_LABELS)
return()
endif()

iree_package_name(_PACKAGE_NAME)
set(_NAME "${_PACKAGE_NAME}_${_RULE_NAME}")

Expand Down
5 changes: 4 additions & 1 deletion iree/test/e2e/xla_ops/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,10 @@ iree_check_single_backend_test_suite(
driver = "dylib",
# Building and testing must be on the same architecture, which doesn't work
# with remote execution in general.
tags = ["local"],
tags = [
"hostonly",
"local",
],
target_backend = "dylib-llvm-aot",
)

Expand Down
1 change: 1 addition & 0 deletions iree/test/e2e/xla_ops/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ iree_check_single_backend_test_suite(
"-iree-input-type=mhlo"
"-iree-llvm-target-cpu-features=host"
LABELS
"hostonly"
"local"
)

Expand Down

0 comments on commit 95eb1e5

Please sign in to comment.