Skip to content

Commit a5205d0

Browse files
authored
Merge pull request #71 from limdor/update_third_party_deps
Bump third party dependencies in order to work with Bazel 7
2 parents e4b87f3 + 230dac8 commit a5205d0

File tree

50 files changed

+99
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+99
-99
lines changed

cpp/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
21
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
2+
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
33

44
package(default_visibility = ["//visibility:public"])
55

cpp/third_party/bazel_skylib/direct.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Dependency to Bazel standard library Skylib
33
"""
44

5-
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
65
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6+
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
77

88
def load_bazel_skylib():
99
maybe(

cpp/third_party/buildtools/direct.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
Dependency to bazel buildtools where buildifier is located
33
"""
44

5-
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
65
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6+
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
77

88
def load_buildtools():
99
maybe(
1010
http_archive,
1111
name = "com_github_bazelbuild_buildtools",
12-
url = "https://github.com/bazelbuild/buildtools/archive/3.5.0.tar.gz",
13-
sha256 = "a02ba93b96a8151b5d8d3466580f6c1f7e77212c4eb181cba53eb2cae7752a23",
14-
strip_prefix = "buildtools-3.5.0",
12+
url = "https://github.com/bazelbuild/buildtools/archive/refs/tags/v6.4.0.tar.gz",
13+
sha256 = "05c3c3602d25aeda1e9dbc91d3b66e624c1f9fdadf273e5480b489e744ca7269",
14+
strip_prefix = "buildtools-6.4.0",
1515
)

cpp/third_party/protobuf/direct.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Dependency to protobuf, Google's data interchange format
33
"""
44

5-
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
65
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6+
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
77

88
def load_protobuf():
99
maybe(

cpp/third_party/rules_go/direct.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
Dependency to bazel rules for Go language
33
"""
44

5-
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
65
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6+
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
77

88
def load_rules_go():
99
maybe(
1010
http_archive,
1111
name = "io_bazel_rules_go",
12-
sha256 = "b725e6497741d7fc2d55fcc29a276627d10e43fa5d0bb692692890ae30d98d00",
12+
sha256 = "b6828eb2d03bb5ef76f2077f8670b211fe792e77ddb83450ea9f887df04db9c7",
1313
urls = [
14-
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.3/rules_go-v0.24.3.tar.gz",
15-
"https://github.com/bazelbuild/rules_go/releases/download/v0.24.3/rules_go-v0.24.3.tar.gz",
14+
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.44.1/rules_go-v0.44.1.zip",
15+
"https://github.com/bazelbuild/rules_go/releases/download/v0.44.1/rules_go-v0.44.1.zip",
1616
],
1717
)

cpp/third_party/rules_go/transitive.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
Transitive dependencies for rules_go
33
"""
44

5-
load("//third_party/protobuf:transitive.bzl", "load_protobuf_transitive_dependencies")
65
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
6+
load("//third_party/protobuf:transitive.bzl", "load_protobuf_transitive_dependencies")
77

88
def load_rules_go_transitive_dependencies():
99
load_protobuf_transitive_dependencies()
1010
go_rules_dependencies()
11-
go_register_toolchains()
11+
go_register_toolchains(version = "1.21.5")

cpp_and_python/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
load("@rules_cc//cc:defs.bzl", "cc_binary")
21
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
2+
load("@rules_cc//cc:defs.bzl", "cc_binary")
33
load("//hello_world:generator.bzl", "hello_world")
44

55
buildifier(

cpp_and_python/third_party/bazel_skylib/direct.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Dependency to Bazel standard library Skylib
33
"""
44

5-
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
65
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6+
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
77

88
def load_bazel_skylib():
99
maybe(

cpp_and_python/third_party/buildtools/direct.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
Dependency to bazel buildtools where buildifier is located
33
"""
44

5-
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
65
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6+
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
77

88
def load_buildtools():
99
maybe(
1010
http_archive,
1111
name = "com_github_bazelbuild_buildtools",
12-
url = "https://github.com/bazelbuild/buildtools/archive/3.5.0.tar.gz",
13-
sha256 = "a02ba93b96a8151b5d8d3466580f6c1f7e77212c4eb181cba53eb2cae7752a23",
14-
strip_prefix = "buildtools-3.5.0",
12+
url = "https://github.com/bazelbuild/buildtools/archive/refs/tags/v6.4.0.tar.gz",
13+
sha256 = "05c3c3602d25aeda1e9dbc91d3b66e624c1f9fdadf273e5480b489e744ca7269",
14+
strip_prefix = "buildtools-6.4.0",
1515
)

cpp_and_python/third_party/protobuf/direct.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Dependency to protobuf, Google's data interchange format
33
"""
44

5-
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
65
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
6+
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
77

88
def load_protobuf():
99
maybe(

0 commit comments

Comments
 (0)