Skip to content

Commit cf37e9f

Browse files
laramielcopybara-github
authored andcommitted
Update more third_party deps
PiperOrigin-RevId: 867730838 Change-Id: Ic6c0b512893f606591a81b5542b10a0cf7518c19
1 parent 2d16fef commit cf37e9f

File tree

6 files changed

+49
-11
lines changed

6 files changed

+49
-11
lines changed

WORKSPACE

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@ rules_proto_toolchains()
5353
# Register build_bazel_apple_support toolchains, which are needed for cross-compilaton
5454
# macOS. Unfortunately this (small) repo will have to be downloaded in all
5555
# cases, even though it is only needed on macOS when cross-compiling.
56-
load("@build_bazel_apple_support//crosstool:setup.bzl", "apple_cc_configure")
56+
load(
57+
"@build_bazel_apple_support//lib:repositories.bzl",
58+
"apple_support_dependencies",
59+
)
5760

58-
apple_cc_configure()
61+
apple_support_dependencies()
5962

6063
# Define LLVM toolchain used for extracting C++ API documentation information
6164
load("@toolchains_llvm//toolchain:rules.bzl", "llvm_toolchain")

third_party/build_bazel_apple_support/workspace.bzl renamed to third_party/bazel_apple_support/workspace.bzl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 The TensorStore Authors
1+
# Copyright 2026 The TensorStore Authors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -21,10 +21,12 @@ load(
2121
"mirror_url",
2222
)
2323

24+
# Version 1.24.5 is the last version that supports WORKSPACE builds.
2425
def repo():
2526
maybe(
2627
http_archive,
2728
name = "build_bazel_apple_support",
28-
urls = mirror_url("https://github.com/bazelbuild/apple_support/releases/download/1.17.1/apple_support.1.17.1.tar.gz"),
29-
sha256 = "b53f6491e742549f13866628ddffcc75d1f3b2d6987dc4f14a16b242113c890b",
29+
urls = mirror_url("https://github.com/bazelbuild/apple_support/archive/1.24.5.tar.gz"),
30+
sha256 = "e5179535c56801ab43379deb6acfbca17da65f0b05d95e9b7565d2ae1cd22411",
31+
strip_prefix = "apple_support-1.24.5",
3032
)

third_party/org_blosc_cblosc/workspace.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def repo():
2626
third_party_http_archive,
2727
name = "org_blosc_cblosc",
2828
strip_prefix = "c-blosc-c8072c21dcce8daf6dd19a0bbae8c53458ad68cc",
29-
urls = mirror_url("https://github.com/Blosc/c-blosc/archive/c8072c21dcce8daf6dd19a0bbae8c53458ad68cc.tar.gz"),
29+
urls = mirror_url("https://github.com/Blosc/c-blosc/archive/c8072c21dcce8daf6dd19a0bbae8c53458ad68cc.tar.gz"), # main(2025-08-26)
3030
sha256 = "339b6b42a72991314abf9fbadaeff0c34955c1fafa1710fdfcef45d1bc03c030",
3131
build_file = Label("//third_party:org_blosc_cblosc/cblosc.BUILD.bazel"),
3232
system_build_file = Label("//third_party:org_blosc_cblosc/system.BUILD.bazel"),
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright 2026 The TensorStore Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# buildifier: disable=module-docstring
16+
17+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
18+
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
19+
load(
20+
"//third_party:repo.bzl",
21+
"mirror_url",
22+
)
23+
24+
def repo():
25+
maybe(
26+
http_archive,
27+
name = "helly25_bzl",
28+
urls = mirror_url("https://github.com/helly25/bzl/releases/download/0.3.1/bzl-0.3.1.tar.gz"),
29+
sha256 = "c8e28a3cb7e465b4b71f5d4d366c5796cc0ae822fa510a8adf12cf39a9709902",
30+
strip_prefix = "bzl-0.3.1",
31+
)

third_party/third_party.bzl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ load("//third_party:aws_c_io/workspace.bzl", repo_aws_c_io = "repo")
1212
load("//third_party:aws_c_sdkutils/workspace.bzl", repo_aws_c_sdkutils = "repo")
1313
load("//third_party:aws_checksums/workspace.bzl", repo_aws_checksums = "repo")
1414
load("//third_party:aws_s2n_tls/workspace.bzl", repo_aws_s2n_tls = "repo")
15+
load("//third_party:bazel_apple_support/workspace.bzl", repo_bazel_apple_support = "repo")
1516
load("//third_party:bazel_features/workspace.bzl", repo_bazel_features = "repo")
1617
load("//third_party:bazel_skylib/workspace.bzl", repo_bazel_skylib = "repo")
1718
load("//third_party:blake3/workspace.bzl", repo_blake3 = "repo")
1819
load("//third_party:boringssl/workspace.bzl", repo_boringssl = "repo")
1920
load("//third_party:brotli/workspace.bzl", repo_brotli = "repo")
20-
load("//third_party:build_bazel_apple_support/workspace.bzl", repo_build_bazel_apple_support = "repo")
2121
load("//third_party:bzip2/workspace.bzl", repo_bzip2 = "repo")
2222
load("//third_party:c_ares/workspace.bzl", repo_c_ares = "repo")
2323
load("//third_party:cel_spec/workspace.bzl", repo_cel_spec = "repo")
@@ -50,6 +50,7 @@ load("//third_party:pypa/workspace.bzl", repo_pypa = "repo")
5050
load("//third_party:re2/workspace.bzl", repo_re2 = "repo")
5151
load("//third_party:riegeli/workspace.bzl", repo_riegeli = "repo")
5252
load("//third_party:rules_cc/workspace.bzl", repo_rules_cc = "repo")
53+
load("//third_party:rules_helly25_bzl/workspace.bzl", repo_rules_helly25_bzl = "repo")
5354
load("//third_party:rules_license/workspace.bzl", repo_rules_license = "repo")
5455
load("//third_party:rules_nasm/workspace.bzl", repo_rules_nasm = "repo")
5556
load("//third_party:rules_pkg/workspace.bzl", repo_rules_pkg = "repo")
@@ -75,12 +76,12 @@ def third_party_dependencies():
7576
repo_aws_c_sdkutils()
7677
repo_aws_checksums()
7778
repo_aws_s2n_tls()
79+
repo_bazel_apple_support()
7880
repo_bazel_features()
7981
repo_bazel_skylib()
8082
repo_blake3()
8183
repo_boringssl()
8284
repo_brotli()
83-
repo_build_bazel_apple_support()
8485
repo_bzip2()
8586
repo_c_ares()
8687
repo_cel_spec()
@@ -113,6 +114,7 @@ def third_party_dependencies():
113114
repo_re2()
114115
repo_riegeli()
115116
repo_rules_cc()
117+
repo_rules_helly25_bzl()
116118
repo_rules_license()
117119
repo_rules_nasm()
118120
repo_rules_pkg()

third_party/toolchains_llvm/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def repo():
2525
maybe(
2626
http_archive,
2727
name = "toolchains_llvm",
28-
urls = mirror_url("https://github.com/bazel-contrib/toolchains_llvm/archive/v1.4.0.tar.gz"),
29-
strip_prefix = "toolchains_llvm-1.4.0",
30-
sha256 = "87d8d82531654825713dba466675c23ba64f8430a0044ff050d543cc6626f7d8",
28+
urls = mirror_url("https://github.com/bazel-contrib/toolchains_llvm/archive/v1.6.0.tar.gz"),
29+
strip_prefix = "toolchains_llvm-1.6.0",
30+
sha256 = "93ecdb95a03becbb0bd40bc7c3e5adf3d044fe79be5c26d21765c0986d327d9d",
3131
)

0 commit comments

Comments
 (0)