Skip to content

Commit

Permalink
Add necessary μpb patch to module-enabled build.
Browse files Browse the repository at this point in the history
The patch is necessary to work around
protocolbuffers/protobuf#13741.
  • Loading branch information
phst committed Dec 11, 2023
1 parent 96f4e00 commit e761332
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ bazel_dep(name = "abseil-cpp", version = "20230802.0", repo_name = "com_google_a
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
bazel_dep(name = "upb", version = "0.0.0-20220923-a547704")

# Necessary patch for μpb; to be removed once
# https://github.com/protocolbuffers/protobuf/issues/13741 and
# https://github.com/protocolbuffers/protobuf/issues/14564 are fixed.
single_version_override(
module_name = "upb",
patches = ["//:upb.patch"],
)

# Development-only module dependencies
bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")
bazel_dep(name = "googletest", version = "1.14.0", dev_dependency = True, repo_name = "com_google_googletest")
Expand Down

0 comments on commit e761332

Please sign in to comment.