Update CMake configuration of iree::tools targets
**Tests failing before and afterwards:**
95% tests passed, 8 tests failed out of 173
The following tests FAILED:
4 - iree_base_file_io_test (Failed)
161 - iree_compiler_Translation_SPIRV_LinalgToSPIRV_test_pw_add.mlir.test (Failed)
168 - iree_tools_vm_util_test (Failed)
169 - iree_tools_test_multiple_args.mlir.test (Failed)
170 - iree_tools_test_scalars.mlir.test (Failed)
171 - iree_tools_test_simple.mlir.test (Failed)
172 - iree_samples_custom_modules_custom_modules_test (Child aborted)
173 - iree_samples_simple_embedding_simple_embedding_test (Child aborted)
Closes https://github.com/google/iree/pull/721
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/iree/pull/721 from iml130:cmake-tools-deps 89f6d36c6d73ce70bca083fc36f1c2a6df8e2d4e
PiperOrigin-RevId: 294355685
diff --git a/iree/tools/CMakeLists.txt b/iree/tools/CMakeLists.txt
index 546a670..01361d6 100644
--- a/iree/tools/CMakeLists.txt
+++ b/iree/tools/CMakeLists.txt
@@ -100,7 +100,6 @@
iree::vm::module
iree::vm::variant_list
absl::span
- PUBLIC
)
iree_cc_test(
@@ -233,7 +232,12 @@
iree::compiler::Dialect::HAL::Target::VMLA
iree::compiler::Dialect::HAL::Target::VulkanSPIRV
iree::compiler::Dialect::HAL::Target::LLVM
+ iree::hal::interpreter::interpreter_driver_module
+ # TODO(b/142004903): enable when Dawn HAL implementation is functional
+ # iree::hal::dawn::dawn_driver_module
+ iree::hal::vmla::vmla_driver_module
iree::hal::vulkan::vulkan_driver_module
+ iree::hal::llvmjit::llvmjit_driver_module
)
add_executable(iree-run-mlir ALIAS iree_tools_iree-run-mlir)
@@ -261,6 +265,7 @@
# iree::hal::dawn::dawn_driver_module
iree::hal::vmla::vmla_driver_module
iree::hal::vulkan::vulkan_driver_module
+ iree::hal::llvmjit::llvmjit_driver_module
)
add_executable(iree-run-module ALIAS iree_tools_iree-run-module)