Skip to content

Commit

Permalink
Bump Bazel dependency versions to enable using latest Bazel (#3979)
Browse files Browse the repository at this point in the history
  • Loading branch information
qobilidop authored Apr 12, 2023
1 parent 8947d5e commit 574ea01
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
5.4.0
24 changes: 12 additions & 12 deletions bazel/p4c_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ filegroup(
if not native.existing_rule("com_github_nelhage_rules_boost"):
git_repository(
name = "com_github_nelhage_rules_boost",
# Newest commit on main branch as of May 3, 2021.
commit = "2598b37ce68226fab465c0f0e10988af872b6dc9",
# Newest commit on main branch as of April 11, 2023.
commit = "ded8ba4bcdadb50a2fb2f363b1501eb775d13aac",
remote = "https://github.com/nelhage/rules_boost",
shallow_since = "1611019749 -0800",
shallow_since = "1680804650 -0700",
)
if not native.existing_rule("com_github_p4lang_p4runtime"):
# Cannot currently use local_repository due to Bazel limitation,
Expand All @@ -43,9 +43,9 @@ filegroup(
git_repository(
name = "com_github_p4lang_p4runtime",
remote = "https://github.com/p4lang/p4runtime",
# Newest commit on main branch as of Jan 22, 2021.
commit = "0d40261b67283999bf0f03bd6b40b5374c7aebd0",
shallow_since = "1611340571 -0800",
# Newest commit on main branch as of April 11, 2023.
commit = "90553b90a12ead5c19700e7fef21164dea5b6d22",
shallow_since = "1680213111 -0700",
# strip_prefix is broken; we use patch_cmds as a workaround,
# see https://github.com/bazelbuild/bazel/issues/10062.
# strip_prefix = "proto",
Expand All @@ -64,14 +64,14 @@ filegroup(
# ideally be kept in sync with the submodule test/frameworks/gtest.
http_archive(
name = "com_google_googletest",
urls = ["https://github.com/google/googletest/archive/release-1.10.0.tar.gz"],
strip_prefix = "googletest-release-1.10.0",
sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
urls = ["https://github.com/google/googletest/archive/refs/tags/v1.13.0.tar.gz"],
strip_prefix = "googletest-1.13.0",
sha256 = "ad7fdba11ea011c1d925b3289cf4af2c66a352e18d4c7264392fead75e919363",
)
if not native.existing_rule("com_google_protobuf"):
http_archive(
name = "com_google_protobuf",
url = "https://github.com/protocolbuffers/protobuf/releases/download/v3.13.0/protobuf-all-3.13.0.tar.gz",
strip_prefix = "protobuf-3.13.0",
sha256 = "465fd9367992a9b9c4fba34a549773735da200903678b81b25f367982e8df376",
url = "https://github.com/protocolbuffers/protobuf/releases/download/v21.10/protobuf-all-21.10.tar.gz",
strip_prefix = "protobuf-21.10",
sha256 = "6fc9b6efc18acb2fd5fb3bcf981572539c3432600042b662a162c1226b362426",
)

0 comments on commit 574ea01

Please sign in to comment.