Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
w-gc committed Jan 7, 2025
1 parent 0491ab6 commit ba98dd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ bazel_dep(name = "platforms", version = "0.0.8")
bazel_dep(name = "pybind11_bazel", version = "2.13.6")
bazel_dep(name = "rules_python", version = "0.29.0")
bazel_dep(name = "rules_proto", version = "6.0.0-rc1")
bazel_dep(name = "rules_proto_grpc_python", version = "5.0.0")
bazel_dep(name = "spdlog", version = "1.14.1")
bazel_dep(name = "fmt", version = "11.0.2")
bazel_dep(name = "abseil-cpp", version = "20240722.0")
Expand Down
11 changes: 5 additions & 6 deletions spu/utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

load("@grpc//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
load("@rules_proto_grpc_python//:defs.bzl", "python_proto_library", "python_grpc_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel:spu.bzl", "spu_py_library")

Expand All @@ -32,15 +32,14 @@ proto_library(
srcs = ["distributed.proto"],
)

py_proto_library(
python_proto_library(
name = "distributed_py_proto",
deps = [":distributed_proto"],
protos = [":distributed_proto"],
)

py_grpc_library(
python_grpc_library(
name = "distributed_py_proto_grpc",
srcs = [":distributed_proto"],
strip_prefixes = ["../.."],
protos = [":distributed_proto"],
deps = [":distributed_py_proto"],
)

Expand Down

0 comments on commit ba98dd6

Please sign in to comment.