Skip to content

Add missing Bazel deps on XLA targets.#534

Closed
ScottTodd wants to merge 1 commit intoiree-org:masterfrom
ScottTodd:bazel-xla-deps
Closed

Add missing Bazel deps on XLA targets.#534
ScottTodd wants to merge 1 commit intoiree-org:masterfrom
ScottTodd:bazel-xla-deps

Conversation

@ScottTodd
Copy link
Copy Markdown
Member

Without these, iree-translate fails to link if compiled without //iree/compiler/Dialect/HAL/Target/LegacyInterpreter in TARGET_COMPILER_BACKENDS:
https://github.com/google/iree/blob/8c4e44efab955e24ad9d43b411b55e66f86837d7/iree/tools/BUILD#L30-L33

I'm trying to translate just to vulkan-spirv, which can be achieved either by removing the compile-time dep or by using -iree-hal-target-backends=vulkan-spirv.

No CMake changes because all files are globbed into tensorflow::mlir_xla.

Without these, iree-translate fails to link if compiled without `//iree/compiler/Dialect/HAL/Target/LegacyInterpreter` in `TARGET_COMPILER_BACKENDS`.

I'm trying to translate just to vulkan-spirv, which can be achieved either by removing the compile-time dep or by using `-iree-hal-target-backends=vulkan-spirv`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants