Skip to content

Commit

Permalink
[Mosaic] Don't link CAPIIR into _tpu_ext, link into jaxlib_mlir_capi_…
Browse files Browse the repository at this point in the history
…shared_library instead

PiperOrigin-RevId: 579881376
  • Loading branch information
tlongeri authored and jax authors committed Nov 6, 2023
1 parent 41430ac commit c186928
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jaxlib/mlir/_mlir_libs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ py_extension(
deps = [
":jaxlib_mlir_capi_shared_library",
"//jaxlib/mosaic:tpu_dialect_capi_headers",
"@llvm-project//mlir:CAPIIR",
"@llvm-project//mlir:CAPIIRHeaders",
"@llvm-project//mlir:MLIRBindingsPythonHeadersAndDeps",
"@pybind11",
],
Expand Down Expand Up @@ -242,6 +242,7 @@ cc_library(
":jax_dialects_capi",
"//jaxlib/mosaic:tpu_dialect_capi_objects",
"@llvm-project//mlir:CAPIArithObjects",
"@llvm-project//mlir:CAPIIRObjects",
"@llvm-project//mlir:CAPIMathObjects",
"@llvm-project//mlir:CAPIMemRefObjects",
"@llvm-project//mlir:CAPISparseTensorObjects",
Expand Down

0 comments on commit c186928

Please sign in to comment.