[Bazel] Replace mlir-hlo with stablehlo (#2463)

Aligns with https://github.com/llvm/torch-mlir/pull/2460 and fixes bazel
build.

GHA workflow:
https://github.com/sjain-stanford/torch-mlir/actions/runs/6178894329
fix_empty_strided_decomposition
Sambhav Jain 2023-09-14 08:59:31 -07:00 committed by GitHub
parent 40913a36c2
commit 3d974ed988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -37,8 +37,8 @@ llvm_configure(
)
local_repository(
name = "mlir-hlo",
path = "../../externals/mlir-hlo/",
name = "stablehlo",
path = "../../externals/stablehlo/",
)
new_local_repository(

View File

@ -449,9 +449,8 @@ cc_library(
":TorchMLIRTorchBackendTypeConversion",
":TorchMLIRTorchConversionDialect",
"@llvm-project//mlir:Dialect",
"@mlir-hlo//:mlir_hlo",
"@mlir-hlo//:transforms_passes",
"@mlir-hlo//stablehlo:register",
"@stablehlo//:register",
"@stablehlo//:stablehlo_passes",
],
)