Skip to content

Commit

Permalink
Bump dependency versions in MODULE.bazel
Browse files Browse the repository at this point in the history
Also: don't use proto rules anymore but the rules provided by the
protobuffer repo.
  • Loading branch information
hzeller committed Dec 16, 2024
1 parent 68dcbc2 commit a144250
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 79 deletions.
18 changes: 12 additions & 6 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ module(
name = "verible",
)

bazel_dep(name = "platforms", version = "0.0.8")
bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "rules_license", version = "0.0.8")
bazel_dep(name = "rules_proto", version = "6.0.0-rc2")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_license", version = "1.0.0")

# Last version working with bazel 6. The following
# rules are needed for proto bazel rules as the ones in @protobuf
# not yet available at 26.0 (and they don't work on Windows)
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_proto", version = "6.0.0-rc2")

# Register m4 rules and toolchain.
bazel_dep(name = "rules_m4", version = "0.2.3")
Expand Down Expand Up @@ -69,6 +73,8 @@ single_version_override(

bazel_dep(name = "googletest", version = "1.14.0.bcr.1", repo_name = "com_google_googletest")
bazel_dep(name = "nlohmann_json", version = "3.11.3.bcr.1", repo_name = "jsonhpp")

# Last that works with windows. Unfortunately can't used @protobuf//bazel rules
bazel_dep(name = "protobuf", version = "26.0", repo_name = "com_google_protobuf")
bazel_dep(name = "re2", version = "2023-09-01", repo_name = "com_googlesource_code_re2")
bazel_dep(name = "zlib", version = "1.3.1")
bazel_dep(name = "re2", version = "2024-07-02.bcr.1", repo_name = "com_googlesource_code_re2")
bazel_dep(name = "zlib", version = "1.3.1.bcr.3")
73 changes: 0 additions & 73 deletions bazel/zlib.BUILD

This file was deleted.

2 changes: 2 additions & 0 deletions third_party/proto/kythe/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Unfortunately, can't use @com_google_protobuf//bazel:cc_proto_library.bzl
# here, as this does not seem to work with windows.
load("@rules_cc//cc:defs.bzl", "cc_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")

Expand Down

0 comments on commit a144250

Please sign in to comment.