Skip to content

Commit b67e958

Browse files
laramielcopybara-github
authored andcommitted
Update versions of many tensorstore third_party dependencies
PiperOrigin-RevId: 752167970 Change-Id: Ie0c8a8b75fcbd63873cc090f67b6886eebed2448
1 parent 2a3e786 commit b67e958

File tree

45 files changed

+324
-482
lines changed

Some content is hidden

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

45 files changed

+324
-482
lines changed

third_party/aws_c_auth/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def repo():
2121
maybe(
2222
third_party_http_archive,
2323
name = "aws_c_auth",
24-
sha256 = "5a49b43aba7d2be6217b73dc40256120d31a7d0ca2c3f96d06e5154beed5de7a",
25-
strip_prefix = "aws-c-auth-0.8.4",
24+
sha256 = "aa6e98864fefb95c249c100da4ae7aed36ba13a8a91415791ec6fad20bec0427",
25+
strip_prefix = "aws-c-auth-0.9.0",
2626
urls = [
27-
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-auth/archive/v0.8.4.tar.gz",
27+
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-auth/archive/v0.9.0.tar.gz",
2828
],
2929
build_file = Label("//third_party:aws_c_auth/aws_c_auth.BUILD.bazel"),
3030
cmake_name = "aws_c_auth",

third_party/aws_c_cal/aws_c_cal.BUILD.bazel

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,19 @@ package(default_visibility = ["//visibility:public"])
77

88
licenses(["notice"]) # Apache 2.0
99

10+
config_setting(
11+
name = "compiler_mingw_gcc",
12+
flag_values = {
13+
"@bazel_tools//tools/cpp:compiler": "mingw-gcc",
14+
},
15+
)
16+
1017
cc_library(
1118
name = "aws_c_cal",
1219
srcs = glob([
1320
"source/*.c",
21+
"source/shared/ed25519.c",
22+
"source/shared/lccrypto_common.c",
1423
]) + select({
1524
"@platforms//os:windows": glob([
1625
"source/windows/*.c",
@@ -54,13 +63,3 @@ cc_library(
5463
"@boringssl//:crypto",
5564
],
5665
)
57-
58-
[
59-
alias(
60-
name = name,
61-
actual = "@tensorstore//:{target}".format(target = name),
62-
)
63-
for name in [
64-
"compiler_mingw_gcc",
65-
]
66-
]

third_party/aws_c_cal/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def repo():
2121
maybe(
2222
third_party_http_archive,
2323
name = "aws_c_cal",
24-
sha256 = "413a5226a881eb2d7c7b453707c90b6ad1c0f63edfc15e87087f56d7d10c2a1b",
25-
strip_prefix = "aws-c-cal-0.8.3",
24+
sha256 = "516ff370a45bfc49fd6d34a9bd2b1b3e753221046a9e2fbd117341d6f9d39edc",
25+
strip_prefix = "aws-c-cal-0.9.0",
2626
urls = [
27-
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-cal/archive/v0.8.3.tar.gz",
27+
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-cal/archive/v0.9.0.tar.gz",
2828
],
2929
build_file = Label("//third_party:aws_c_cal/aws_c_cal.BUILD.bazel"),
3030
cmake_name = "aws_c_cal",

third_party/aws_c_common/aws_c_common.BUILD.bazel

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ write_file(
226226
"x86_64_gcc_or_clang",
227227
"x86_64_msvc",
228228
"x86_64_mingw_gcc",
229-
"compiler_mingw_gcc",
230-
"compiler_msvc",
231229
]
232230
]
233231

@@ -247,3 +245,17 @@ alias(
247245
"//conditions:default": "@platforms//cpu:x86_64",
248246
}),
249247
)
248+
249+
config_setting(
250+
name = "compiler_mingw_gcc",
251+
flag_values = {
252+
"@bazel_tools//tools/cpp:compiler": "mingw-gcc",
253+
},
254+
)
255+
256+
config_setting(
257+
name = "compiler_msvc",
258+
flag_values = {
259+
"@bazel_tools//tools/cpp:compiler": "msvc-cl",
260+
},
261+
)

third_party/aws_c_common/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def repo():
2121
maybe(
2222
third_party_http_archive,
2323
name = "aws_c_common",
24-
sha256 = "88115d6f3e4f79d8b2544ed8a95d8a9699985aed38aeb4779d7c9fffde1fee58",
25-
strip_prefix = "aws-c-common-0.11.0",
24+
sha256 = "ecea168ea974f2da73b5a0adc19d9c5ebca73ca4b9f733de7c37fc453ee7d1c2",
25+
strip_prefix = "aws-c-common-0.12.2",
2626
urls = [
27-
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-common/archive/v0.11.0.tar.gz",
27+
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-common/archive/v0.12.2.tar.gz",
2828
],
2929
build_file = Label("//third_party:aws_c_common/aws_c_common.BUILD.bazel"),
3030
cmake_name = "aws_c_common",

third_party/aws_c_event_stream/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def repo():
2121
maybe(
2222
third_party_http_archive,
2323
name = "aws_c_event_stream",
24-
sha256 = "22ce7a695b82debe118c9ecc641ea8bc7e59c9843f92d5acf8401fc86cac847a",
25-
strip_prefix = "aws-c-event-stream-0.5.1",
24+
sha256 = "cef8b78e362836d15514110fb43a0a0c7a86b0a210d5fe25fd248a82027a7272",
25+
strip_prefix = "aws-c-event-stream-0.5.4",
2626
urls = [
27-
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-event-stream/archive/v0.5.1.tar.gz",
27+
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-event-stream/archive/v0.5.4.tar.gz",
2828
],
2929
build_file = Label("//third_party:aws_c_event_stream/aws_c_event_stream.BUILD.bazel"),
3030
cmake_name = "aws_c_event_stream",

third_party/aws_c_http/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def repo():
2121
maybe(
2222
third_party_http_archive,
2323
name = "aws_c_http",
24-
sha256 = "63061321fd3234a4f8688cff1a6681089321519436a5f181e1bcb359204df7c8",
25-
strip_prefix = "aws-c-http-0.9.3",
24+
sha256 = "18cb2a19a7cd80eafc4c29e6845ec97135a381a1e32fc848bdb8340cc747204a",
25+
strip_prefix = "aws-c-http-0.9.7",
2626
urls = [
27-
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-http/archive/v0.9.3.tar.gz",
27+
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-http/archive/v0.9.7.tar.gz",
2828
],
2929
build_file = Label("//third_party:aws_c_http/aws_c_http.BUILD.bazel"),
3030
cmake_name = "aws_c_http",

third_party/aws_c_io/aws_c_io.BUILD.bazel

Lines changed: 21 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@ package(default_visibility = ["//visibility:public"])
55

66
licenses(["notice"]) # Apache 2.0
77

8-
# Ensure that ws2_32.lib is linked for mingw.
9-
# copybara:strip_begin
10-
_WS2_32_LINKOPTS = []
11-
# copybara:strip_end_and_replace_begin
12-
# _WS2_32_LINKOPTS = select({
13-
# "@tensorstore//:compiler_mingw_gcc": [
14-
# "-DEFAULTLIB:ws2_32.lib",
15-
# "-lws2_32",
16-
# ],
17-
# "@tensorstore//:compiler_msvc": ["-DEFAULTLIB:ws2_32.lib"],
18-
# "//conditions:default": [],
19-
# })
20-
# copybara:replace_end
21-
228
cc_library(
239
name = "aws_c_io",
2410
srcs = glob([
@@ -34,6 +20,7 @@ cc_library(
3420
"@platforms//os:osx": glob([
3521
"source/bsd/*.c",
3622
"source/darwin/*.c",
23+
"source/darwin/*.h",
3724
"source/posix/*.c",
3825
]),
3926
"//conditions:default": glob([
@@ -48,26 +35,26 @@ cc_library(
4835
]),
4936
includes = ["include"],
5037
linkopts = select({
51-
"@platforms//os:windows": [
38+
":compiler_msvc": [
5239
"-DEFAULTLIB:ncrypt.lib",
5340
"-DEFAULTLIB:ws2_32.lib",
5441
"-DEFAULTLIB:secur32.lib",
5542
"-DEFAULTLIB:crypt32.lib",
5643
"-DEFAULTLIB:kernel32.lib",
5744
],
58-
"//conditions:default": [
59-
"-ldl",
60-
"-lpthread",
61-
],
62-
}) + select({
6345
":compiler_mingw_gcc": [
6446
"-lncrypt",
6547
"-lws2_32",
6648
"-lsecur32",
6749
"-lcrypt32",
6850
"-lkernel32",
51+
"-ldl",
52+
"-lpthread",
53+
],
54+
"//conditions:default": [
55+
"-ldl",
56+
"-lpthread",
6957
],
70-
"//conditions:default": [],
7158
}),
7259
local_defines = ["AWS_S2N_INSOURCE_PATH"] + select({
7360
"@platforms//os:windows": [
@@ -94,12 +81,16 @@ cc_library(
9481
}),
9582
)
9683

97-
[
98-
alias(
99-
name = name,
100-
actual = "@tensorstore//:{target}".format(target = name),
101-
)
102-
for name in [
103-
"compiler_mingw_gcc",
104-
]
105-
]
84+
config_setting(
85+
name = "compiler_mingw_gcc",
86+
flag_values = {
87+
"@bazel_tools//tools/cpp:compiler": "mingw-gcc",
88+
},
89+
)
90+
91+
config_setting(
92+
name = "compiler_msvc",
93+
flag_values = {
94+
"@bazel_tools//tools/cpp:compiler": "msvc-cl",
95+
},
96+
)

third_party/aws_c_io/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def repo():
2121
maybe(
2222
third_party_http_archive,
2323
name = "aws_c_io",
24-
sha256 = "e5202033b09df61ffb2a57284a04735ac013296decc107de1c4abd1ce7d5cfda",
25-
strip_prefix = "aws-c-io-0.15.4",
24+
sha256 = "65d275bbde1a1d287cdcde62164dc015b9613a5525fe688e972111d8a3b568fb",
25+
strip_prefix = "aws-c-io-0.18.1",
2626
urls = [
27-
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-io/archive/v0.15.4.tar.gz",
27+
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-io/archive/v0.18.1.tar.gz",
2828
],
2929
build_file = Label("//third_party:aws_c_io/aws_c_io.BUILD.bazel"),
3030
cmake_name = "aws_c_io",

third_party/aws_c_mqtt/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ def repo():
2121
maybe(
2222
third_party_http_archive,
2323
name = "aws_c_mqtt",
24-
sha256 = "04abe47c798bf9dcb95e25ea9acd62a35a3f22e58b61c16912a6275c2f8230fe",
25-
strip_prefix = "aws-c-mqtt-0.12.1",
24+
sha256 = "c2ea5d3b34692c5b71ec4ff3efd8277af01f16706970e8851373c361abaf1d72",
25+
strip_prefix = "aws-c-mqtt-0.12.3",
2626
urls = [
27-
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-mqtt/archive/v0.12.1.tar.gz",
27+
"https://storage.googleapis.com/tensorstore-bazel-mirror/github.com/awslabs/aws-c-mqtt/archive/v0.12.3.tar.gz",
2828
],
2929
build_file = Label("//third_party:aws_c_mqtt/aws_c_mqtt.BUILD.bazel"),
3030
cmake_name = "aws_c_mqtt",

0 commit comments

Comments
 (0)