From c9c0f5048d7548d8c5d78e988bc31e2c8005cbbd Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Thu, 9 May 2024 19:00:19 -0700 Subject: [PATCH] Update TF and FlatBuffer dependency to latest. PiperOrigin-RevId: 632337365 --- WORKSPACE | 8 ++++---- third_party/flatbuffers/build_defs.bzl | 2 +- third_party/flatbuffers/workspace.bzl | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 1b1c3aa02b..9e7ecba6cd 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -529,10 +529,10 @@ http_archive( ) # TensorFlow repo should always go after the other external dependencies. -# TF on 2024-05-02. -_TENSORFLOW_GIT_COMMIT = "26d4ea90364daa14bbb2bc5c2aa68f5b70c4641f" -# curl -L https://github.com/tensorflow/tensorflow/archive/.tar.gz | shasum -a 256 -_TENSORFLOW_SHA256 = "92d4f6bb040496711cd0faf3cec59e2bedc6e3ab215ceb92d7ce0a2be558c786" +# TF on 2024-05-09. +_TENSORFLOW_GIT_COMMIT = "8038e44ea38bb889095afaaf6ad05e94adaed8d2" +# curl -L https://github.com/tensorflow/tensorflow/archive/8038e44ea38bb889095afaaf6ad05e94adaed8d2.tar.gz | shasum -a 256 +_TENSORFLOW_SHA256 = "a00c1503a879eb21c349941bbee54aef8d557d7d2ab770e76fb26668d75aa6e0" http_archive( name = "org_tensorflow", urls = [ diff --git a/third_party/flatbuffers/build_defs.bzl b/third_party/flatbuffers/build_defs.bzl index 8e7cc50119..bb14c19cbe 100644 --- a/third_party/flatbuffers/build_defs.bzl +++ b/third_party/flatbuffers/build_defs.bzl @@ -195,7 +195,7 @@ def flatbuffer_cc_library( reflection binaries for the schemas. ''' output_headers = [ - (out_prefix + "%s_generated.h") % (s.replace(".fbs", "").split("/")[-1]) + (out_prefix + "%s_generated.h") % (s.replace(".fbs", "").split("/")[-1].split(":")[-1]) for s in srcs ] reflection_name = "%s_reflection" % name if gen_reflections else "" diff --git a/third_party/flatbuffers/workspace.bzl b/third_party/flatbuffers/workspace.bzl index dfc946df5a..d106ad2a01 100644 --- a/third_party/flatbuffers/workspace.bzl +++ b/third_party/flatbuffers/workspace.bzl @@ -5,11 +5,11 @@ load("//third_party:repo.bzl", "third_party_http_archive") def repo(): third_party_http_archive( name = "flatbuffers", - strip_prefix = "flatbuffers-6ff9e90e7e399f3977e99a315856b57c8afe5b4d", - sha256 = "f4b3dfed9f8f4f0fd9f857fe96a46199cb5745ddb458cad20caf6837230ea188", + strip_prefix = "flatbuffers-595bf0007ab1929570c7671f091313c8fc20644e", + sha256 = "987300083ec1f1b095d5596ef8fb657ba46c45d786bc866a5e9029d7590a5e48", urls = [ - "https://github.com/google/flatbuffers/archive/6ff9e90e7e399f3977e99a315856b57c8afe5b4d.tar.gz", - "https://github.com/google/flatbuffers/archive/6ff9e90e7e399f3977e99a315856b57c8afe5b4d.tar.gz", + "https://github.com/google/flatbuffers/archive/595bf0007ab1929570c7671f091313c8fc20644e.tar.gz", + "https://github.com/google/flatbuffers/archive/595bf0007ab1929570c7671f091313c8fc20644e.tar.gz", ], build_file = "//third_party/flatbuffers:BUILD.bazel", delete = ["build_defs.bzl", "BUILD.bazel"],