Skip to content

Commit

Permalink
Bump stablehlo submodule. Fix bazel deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhar committed Jun 14, 2023
1 parent d7cfb2c commit 4ac499a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions build_tools/bazel/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def configure_iree_submodule_deps(iree_repo_alias = "@", iree_path = "./"):

maybe(
native.local_repository,
name = "mlir-hlo",
path = paths.join(iree_path, "third_party/mlir-hlo"),
name = "stablehlo",
path = paths.join(iree_path, "third_party/stablehlo"),
)

maybe(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ iree_compiler_cc_library(
"@llvm-project//mlir:Pass",
"@llvm-project//mlir:TosaDialect",
"@llvm-project//mlir:Transforms",
"@stablehlo//stablehlo:stablehlo_ops",
"@stablehlo//:stablehlo_ops",
"@torch-mlir-dialects//:TorchMLIRTMTensorDialect",
],
)
10 changes: 5 additions & 5 deletions compiler/src/iree/compiler/InputConversion/StableHLO/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ iree_gentbl_cc_library(
tblgen = "@llvm-project//mlir:mlir-tblgen",
td_file = "CHLODecompositionPatterns.td",
deps = [
"@stablehlo//stablehlo:chlo_ops_td_files",
"@stablehlo//stablehlo:stablehlo_ops_td_files",
"@stablehlo//:chlo_ops_td_files",
"@stablehlo//:stablehlo_ops_td_files",
],
)

Expand Down Expand Up @@ -115,9 +115,9 @@ iree_compiler_cc_library(
"@llvm-project//mlir:TensorUtils",
"@llvm-project//mlir:Transforms",
"@llvm-project//mlir:VectorDialect",
"@stablehlo//stablehlo:broadcast_utils",
"@stablehlo//stablehlo:chlo_ops",
"@stablehlo//stablehlo:stablehlo_ops",
"@stablehlo//:broadcast_utils",
"@stablehlo//:chlo_ops",
"@stablehlo//:stablehlo_ops",
],
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ iree_gentbl_cc_library(
td_file = "ComplexLoweringPatterns.td",
deps = [
"@llvm-project//mlir:FuncTdFiles",
"@stablehlo//stablehlo:stablehlo_ops_td_files",
"@stablehlo//:stablehlo_ops_td_files",
],
)

Expand Down Expand Up @@ -90,7 +90,7 @@ iree_compiler_cc_library(
"@llvm-project//mlir:Support",
"@llvm-project//mlir:TensorDialect",
"@llvm-project//mlir:Transforms",
"@stablehlo//stablehlo:chlo_ops",
"@stablehlo//stablehlo:stablehlo_ops",
"@stablehlo//:chlo_ops",
"@stablehlo//:stablehlo_ops",
],
)
4 changes: 2 additions & 2 deletions compiler/src/iree/compiler/Tools/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ iree_compiler_cc_library(
"@llvm-project//mlir:ConversionPasses",
"@llvm-project//mlir:IR",
"@llvm-project//mlir:TosaDialect",
"@stablehlo//stablehlo:chlo_ops",
"@stablehlo//stablehlo:stablehlo_ops",
"@stablehlo//:chlo_ops",
"@stablehlo//:stablehlo_ops",
"@torch-mlir-dialects//:TorchMLIRTMTensorDialect",
],
)
Expand Down

0 comments on commit 4ac499a

Please sign in to comment.