Skip to content

Commit

Permalink
Update TF and FlatBuffer dependency to latest.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 632337365
  • Loading branch information
schmidt-sebastian authored and copybara-github committed May 10, 2024
1 parent 7196434 commit c9c0f50
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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/<TENSORFLOW_GIT_COMMIT>.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 = [
Expand Down
2 changes: 1 addition & 1 deletion third_party/flatbuffers/build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down
8 changes: 4 additions & 4 deletions third_party/flatbuffers/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit c9c0f50

Please sign in to comment.