Update Flatbuffers to 23.1.21

PiperOrigin-RevId: 524391723
This commit is contained in:
Sebastian Schmidt 2023-04-14 14:48:21 -07:00 committed by Copybara-Service
parent abd6574c6d
commit d3903f885a
2 changed files with 8 additions and 4 deletions

View File

@ -45,12 +45,16 @@ filegroup(
"include/flatbuffers/bfbs_generator.h", "include/flatbuffers/bfbs_generator.h",
"include/flatbuffers/buffer.h", "include/flatbuffers/buffer.h",
"include/flatbuffers/buffer_ref.h", "include/flatbuffers/buffer_ref.h",
"include/flatbuffers/code_generator.h",
"include/flatbuffers/code_generators.h", "include/flatbuffers/code_generators.h",
"include/flatbuffers/default_allocator.h", "include/flatbuffers/default_allocator.h",
"include/flatbuffers/detached_buffer.h", "include/flatbuffers/detached_buffer.h",
"include/flatbuffers/flatbuffer_builder.h", "include/flatbuffers/flatbuffer_builder.h",
"include/flatbuffers/flatbuffers.h", "include/flatbuffers/flatbuffers.h",
"include/flatbuffers/flatc.h",
"include/flatbuffers/flex_flat_util.h",
"include/flatbuffers/flexbuffers.h", "include/flatbuffers/flexbuffers.h",
"include/flatbuffers/grpc.h",
"include/flatbuffers/hash.h", "include/flatbuffers/hash.h",
"include/flatbuffers/idl.h", "include/flatbuffers/idl.h",
"include/flatbuffers/minireflect.h", "include/flatbuffers/minireflect.h",

View File

@ -5,11 +5,11 @@ load("//third_party:repo.bzl", "third_party_http_archive")
def repo(): def repo():
third_party_http_archive( third_party_http_archive(
name = "flatbuffers", name = "flatbuffers",
strip_prefix = "flatbuffers-2.0.6", strip_prefix = "flatbuffers-23.1.21",
sha256 = "e2dc24985a85b278dd06313481a9ca051d048f9474e0f199e372fea3ea4248c9", sha256 = "d84cb25686514348e615163b458ae0767001b24b42325f426fd56406fd384238",
urls = [ urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/v2.0.6.tar.gz", "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/v23.1.21.tar.gz",
"https://github.com/google/flatbuffers/archive/v2.0.6.tar.gz", "https://github.com/google/flatbuffers/archive/v23.1.21.tar.gz",
], ],
build_file = "//third_party/flatbuffers:BUILD.bazel", build_file = "//third_party/flatbuffers:BUILD.bazel",
delete = ["build_defs.bzl", "BUILD.bazel"], delete = ["build_defs.bzl", "BUILD.bazel"],