Skip to content

Commit 1c7ed8e

Browse files
laramielcopybara-github
authored andcommitted
Update tensorstore third_party deps
This updates more of our third_party dependencies, specifically aom. In order to try an make future updates more consistently applied this changes how the update works. Now, after updating the snapshot, the update_libaom.py script runs cmake and captures the generated config files and the list of sources. Then the update_build.py script updates/generates build rules for libaom based on the sources and the prior libaom.BUILD.bazel file PiperOrigin-RevId: 873385934 Change-Id: Ie76bedef2913a0e37c792829efb3b05cbe18dae4
1 parent 12a9aad commit 1c7ed8e

52 files changed

Lines changed: 14737 additions & 14883 deletions

Some content is hidden

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

python/tensorstore/generate_type_stubs.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,14 @@ def _munge_type_stubs_file(
387387
"parse_tensorstore_flags(argv: list[",
388388
"parse_tensorstore_flags(argv: collections.abc.Sequence[",
389389
)
390+
content = content.replace(
391+
"int | typing.SupportsIndex",
392+
"int",
393+
)
394+
content = content.replace(
395+
"float | typing.SupportsIndex",
396+
"float",
397+
)
390398
content = black.format_str(content, mode=black.Mode())
391399
return content
392400

python/tensorstore/index_space.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2935,7 +2935,7 @@ Constructs an :ref:`index array map<index-transform-array-map>`.
29352935
py::arg("other"));
29362936

29372937
cls.def(py::pickle(
2938-
[](const OutputIndexMap& self) {
2938+
[](const OutputIndexMap& self) -> py::tuple {
29392939
switch (self.method) {
29402940
case OutputIndexMethod::constant:
29412941
return py::make_tuple(self.method, self.offset);

third_party/BUILD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ filegroup(
1515
filegroup(
1616
name = "templates",
1717
srcs = glob([
18-
"**/*.template",
18+
"**/*.c",
19+
"**/*.asm",
1920
"**/*.h",
2021
]),
2122
)

third_party/aws_c_auth/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def repo():
2525
maybe(
2626
third_party_http_archive,
2727
name = "aws_c_auth",
28-
sha256 = "39000bff55fe8c82265b9044a966ab37da5c192a775e1b68b6fcba7e7f9882fb",
29-
strip_prefix = "aws-c-auth-0.9.5",
30-
urls = mirror_url("https://github.com/awslabs/aws-c-auth/archive/v0.9.5.tar.gz"),
28+
sha256 = "2448e939d924731a891bec34f6da764d3a34afd52b9f5a3e614bb1bf96e6452d",
29+
strip_prefix = "aws-c-auth-0.9.6",
30+
urls = mirror_url("https://github.com/awslabs/aws-c-auth/archive/v0.9.6.tar.gz"),
3131
build_file = Label("//third_party:aws_c_auth/aws_c_auth.BUILD.bazel"),
3232
cmake_name = "aws_c_auth",
3333
cmake_target_mapping = {

third_party/aws_checksums/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def repo():
2525
maybe(
2626
third_party_http_archive,
2727
name = "aws_checksums",
28-
sha256 = "e624754cc57e0da28e643e89fc76bcc86cb0c359ead0745bae643f910b2bcfa7",
29-
strip_prefix = "aws-checksums-0.2.8",
30-
urls = mirror_url("https://github.com/awslabs/aws-checksums/archive/v0.2.8.tar.gz"),
28+
sha256 = "cb6509f75e42ee25c372a6d379e8582ce5179e5335183842e808f7d8abb0c314",
29+
strip_prefix = "aws-checksums-0.2.10",
30+
urls = mirror_url("https://github.com/awslabs/aws-checksums/archive/v0.2.10.tar.gz"),
3131
build_file = Label("//third_party:aws_checksums/aws_checksums.BUILD.bazel"),
3232
cmake_name = "aws_checksums",
3333
cmake_target_mapping = {

third_party/boringssl/workspace.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ def repo():
2727
maybe(
2828
third_party_http_archive,
2929
name = "boringssl",
30-
strip_prefix = "boringssl-0.20250818.0",
31-
doc_version = "0.20250818",
32-
urls = mirror_url("https://github.com/google/boringssl/archive/0.20250818.0.tar.gz"), # 0.20250415.0
33-
sha256 = "64529449ef458381346b163302523a1fb876e5b667bec4a4bd38d0d2fff8b42b",
30+
strip_prefix = "boringssl-0.20260211.0",
31+
doc_version = "0.20260211",
32+
urls = mirror_url("https://github.com/google/boringssl/archive/0.20260211.0.tar.gz"), # 0.20260211.0
33+
sha256 = "52e2d96759d483e384e3964a2513781ea05cb6b2d677f1f8f5a4049aea30535d",
3434
system_build_file = Label("//third_party:boringssl/system.BUILD.bazel"),
3535
cmake_name = "OpenSSL",
3636
cmake_target_mapping = {

third_party/com_github_pybind_pybind11/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def repo():
2727
maybe(
2828
third_party_http_archive,
2929
name = "com_github_pybind_pybind11",
30-
strip_prefix = "pybind11-3.0.1",
31-
urls = mirror_url("https://github.com/pybind/pybind11/archive/v3.0.1.tar.gz"),
32-
sha256 = "741633da746b7c738bb71f1854f957b9da660bcd2dce68d71949037f0969d0ca",
30+
strip_prefix = "pybind11-3.0.2",
31+
urls = mirror_url("https://github.com/pybind/pybind11/archive/v3.0.2.tar.gz"),
32+
sha256 = "2f20a0af0b921815e0e169ea7fec63909869323581b89d7de1553468553f6a2d",
3333
build_file = Label("//third_party:com_github_pybind_pybind11/pybind11.BUILD.bazel"),
3434
system_build_file = Label("//third_party:com_github_pybind_pybind11/system.BUILD.bazel"),
3535
# documentation-only

third_party/googleapis/workspace.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ def repo():
2525
maybe(
2626
third_party_http_archive,
2727
name = "googleapis",
28-
strip_prefix = "googleapis-a65054db0ad435ca30541a70d8ad32f162949d26",
28+
strip_prefix = "googleapis-1937a1552cb031159749738f6d062f084ea94894",
2929
doc_version = "20260206-a65054d",
30-
urls = mirror_url("https://github.com/googleapis/googleapis/archive/a65054db0ad435ca30541a70d8ad32f162949d26.tar.gz"), # master(2026-02-06)
31-
sha256 = "bde4d1cc2f2e3800149466f08745f611b505d652edfc51227650adcccb6eece4",
30+
urls = mirror_url("https://github.com/googleapis/googleapis/archive/1937a1552cb031159749738f6d062f084ea94894.tar.gz"), # master(2026-02-18)
31+
sha256 = "164641dfc31c148742f055ab8b7a07efd39862b4cd2e6fa35b5f498a30ee07bb",
3232
repo_mapping = {
3333
"@com_google_googleapis_imports": "@local_proto_mirror",
3434
"@com_google_protobuf_upb": "@com_google_protobuf",

third_party/org_aomedia_aom/aom_version.h.template renamed to third_party/org_aomedia_aom/generated_configs/aom_version.h

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, Alliance for Open Media. All rights reserved
2+
* Copyright (c) 2026, Alliance for Open Media. All rights reserved.
33
*
44
* This source code is subject to the terms of the BSD 2 Clause License and
55
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -9,11 +9,14 @@
99
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
1010
*/
1111

12+
#ifndef AOM_VERSION_H_
13+
#define AOM_VERSION_H_
1214
#define VERSION_MAJOR 3
13-
#define VERSION_MINOR 2
14-
#define VERSION_PATCH 0
15-
#define VERSION_EXTRA "tensorstore"
15+
#define VERSION_MINOR 13
16+
#define VERSION_PATCH 1
17+
#define VERSION_EXTRA ""
1618
#define VERSION_PACKED \
1719
((VERSION_MAJOR << 16) | (VERSION_MINOR << 8) | (VERSION_PATCH))
18-
#define VERSION_STRING_NOSP "3.2.0-tensorstore"
19-
#define VERSION_STRING " 3.2.0-tensorstore"
20+
#define VERSION_STRING_NOSP "v3.13.1"
21+
#define VERSION_STRING " v3.13.1"
22+
#endif // AOM_VERSION_H_

third_party/org_aomedia_aom/aom_config.asm.template renamed to third_party/org_aomedia_aom/generated_configs/arm64/aom_config.asm

Lines changed: 39 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;
2-
; Copyright (c) 2021, Alliance for Open Media. All rights reserved
2+
; Copyright (c) 2026, Alliance for Open Media. All rights reserved.
33
;
44
; This source code is subject to the terms of the BSD 2 Clause License and
55
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -8,11 +8,12 @@
88
; Media Patent License 1.0 was not distributed with this source code in the
99
; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
1010
;
11-
ARCH_ARM equ ${ARM64}
12-
ARCH_MIPS equ 0
13-
ARCH_PPC equ ${PPC}
14-
ARCH_X86 equ 0
15-
ARCH_X86_64 equ ${X86_64}
11+
AOM_ARCH_AARCH64 equ 1
12+
AOM_ARCH_ARM equ 1
13+
AOM_ARCH_PPC equ 0
14+
AOM_ARCH_RISCV equ 0
15+
AOM_ARCH_X86 equ 0
16+
AOM_ARCH_X86_64 equ 0
1617
CONFIG_ACCOUNTING equ 0
1718
CONFIG_ANALYZER equ 0
1819
CONFIG_AV1_DECODER equ 1
@@ -21,70 +22,79 @@ CONFIG_AV1_HIGHBITDEPTH equ 1
2122
CONFIG_AV1_TEMPORAL_DENOISING equ 0
2223
CONFIG_BIG_ENDIAN equ 0
2324
CONFIG_BITRATE_ACCURACY equ 0
25+
CONFIG_BITRATE_ACCURACY_BL equ 0
2426
CONFIG_BITSTREAM_DEBUG equ 0
2527
CONFIG_COEFFICIENT_RANGE_CHECKING equ 0
2628
CONFIG_COLLECT_COMPONENT_TIMING equ 0
2729
CONFIG_COLLECT_PARTITION_STATS equ 0
2830
CONFIG_COLLECT_RD_STATS equ 0
31+
CONFIG_CWG_C013 equ 0
32+
CONFIG_CWG_E050 equ 0
2933
CONFIG_DEBUG equ 0
3034
CONFIG_DENOISE equ 1
3135
CONFIG_DISABLE_FULL_PIXEL_SPLIT_8X8 equ 1
32-
CONFIG_DIST_8X8 equ 0
3336
CONFIG_ENTROPY_STATS equ 0
3437
CONFIG_EXCLUDE_SIMD_MISMATCH equ 0
3538
CONFIG_FPMT_TEST equ 0
36-
CONFIG_FRAME_PARALLEL_ENCODE equ 0
37-
CONFIG_FRAME_PARALLEL_ENCODE_2 equ 0
3839
CONFIG_GCC equ 1
3940
CONFIG_GCOV equ 0
4041
CONFIG_GPROF equ 0
42+
CONFIG_HIGHWAY equ 0
4143
CONFIG_INSPECTION equ 0
4244
CONFIG_INTERNAL_STATS equ 0
4345
CONFIG_INTER_STATS_ONLY equ 0
46+
CONFIG_LIBVMAF_PSNR_PEAK equ 1
4447
CONFIG_LIBYUV equ 1
4548
CONFIG_MAX_DECODE_PROFILE equ 2
4649
CONFIG_MISMATCH_DEBUG equ 0
47-
CONFIG_MULTITHREAD equ 1
50+
CONFIG_MULTITHREAD equ 0
4851
CONFIG_NN_V2 equ 0
4952
CONFIG_NORMAL_TILE_MODE equ 0
5053
CONFIG_OPTICAL_FLOW_API equ 0
5154
CONFIG_OS_SUPPORT equ 1
55+
CONFIG_OUTPUT_FRAME_SIZE equ 0
5256
CONFIG_PARTITION_SEARCH_ORDER equ 0
5357
CONFIG_PIC equ 1
58+
CONFIG_QUANT_MATRIX equ 1
59+
CONFIG_RATECTRL_LOG equ 0
5460
CONFIG_RD_COMMAND equ 0
5561
CONFIG_RD_DEBUG equ 0
5662
CONFIG_REALTIME_ONLY equ 0
5763
CONFIG_RT_ML_PARTITIONING equ 0
58-
CONFIG_RUNTIME_CPU_DETECT equ ${X86_64}
64+
CONFIG_RUNTIME_CPU_DETECT equ 1
65+
CONFIG_SALIENCY_MAP equ 0
5966
CONFIG_SHARED equ 0
60-
CONFIG_SHARP_SETTINGS equ ${X86_64}
6167
CONFIG_SIZE_LIMIT equ 1
62-
CONFIG_SPATIAL_RESAMPLING equ 1
6368
CONFIG_SPEED_STATS equ 0
69+
CONFIG_SVT_AV1 equ 0
70+
CONFIG_TFLITE equ 0
6471
CONFIG_THREE_PASS equ 0
6572
CONFIG_TUNE_BUTTERAUGLI equ 0
6673
CONFIG_TUNE_VMAF equ 0
6774
CONFIG_WEBM_IO equ 1
6875
DECODE_HEIGHT_LIMIT equ 12288
6976
DECODE_WIDTH_LIMIT equ 12288
7077
FORCE_HIGHBITDEPTH_DECODING equ 0
71-
HAVE_AVX equ ${X86_64}
72-
HAVE_AVX2 equ ${X86_64}
73-
HAVE_DSPR2 equ 0
78+
HAVE_ARM_CRC32 equ 1
79+
HAVE_AVX equ 0
80+
HAVE_AVX2 equ 0
81+
HAVE_AVX512 equ 0
7482
HAVE_FEXCEPT equ 1
75-
HAVE_MIPS32 equ 0
76-
HAVE_MIPS64 equ 0
77-
HAVE_MMX equ ${X86_64}
78-
HAVE_MSA equ 0
79-
HAVE_NEON equ ${ARM64}
80-
HAVE_PTHREAD_H equ ${PTHREAD}
81-
HAVE_SSE equ ${X86_64}
82-
HAVE_SSE2 equ ${X86_64}
83-
HAVE_SSE3 equ ${X86_64}
84-
HAVE_SSE4_1 equ ${X86_64}
85-
HAVE_SSE4_2 equ ${X86_64}
86-
HAVE_SSSE3 equ ${X86_64}
83+
HAVE_MMX equ 0
84+
HAVE_NEON equ 1
85+
HAVE_NEON_DOTPROD equ 1
86+
HAVE_NEON_I8MM equ 1
87+
HAVE_PTHREAD_H equ 1
88+
HAVE_RVV equ 0
89+
HAVE_SSE equ 0
90+
HAVE_SSE2 equ 0
91+
HAVE_SSE3 equ 0
92+
HAVE_SSE4_1 equ 0
93+
HAVE_SSE4_2 equ 0
94+
HAVE_SSSE3 equ 0
95+
HAVE_SVE equ 0
96+
HAVE_SVE2 equ 0
8797
HAVE_UNISTD_H equ 1
8898
HAVE_VSX equ 0
8999
HAVE_WXWIDGETS equ 0
90-
STATIC_LINK_JXL equ 0
100+
STATIC_LINK_JXL equ 0

0 commit comments

Comments
 (0)