Skip to content

Commit 359f536

Browse files
yongtanggunan
authored andcommitted
Update flatbuffers to 1.9.0 (tensorflow#20186)
* Update flatbuffers to 1.9.0 This fix updates flatbuffers to 1.9.0. The previous version used (971a681) in tf was released last year, and is not a versioned release. This fix updates to the latest versioned release of 1.9.0. Signed-off-by: Yong Tang <[email protected]> * Add missing files of java_generator.cc to fix build error. Signed-off-by: Yong Tang <[email protected]>
1 parent 0f6f9ac commit 359f536

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tensorflow/workspace.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -695,11 +695,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""):
695695

696696
tf_http_archive(
697697
name = "flatbuffers",
698-
strip_prefix = "flatbuffers-971a68110e4fc1bace10fcb6deeb189e7e1a34ce",
699-
sha256 = "874088d2ee0d9f8524191f77209556415f03dd44e156276edf19e5b90ceb5f55",
698+
strip_prefix = "flatbuffers-1.9.0",
699+
sha256 = "5ca5491e4260cacae30f1a5786d109230db3f3a6e5a0eb45d0d0608293d247e3",
700700
urls = [
701-
"https://mirror.bazel.build/github.com/google/flatbuffers/archive/971a68110e4fc1bace10fcb6deeb189e7e1a34ce.tar.gz",
702-
"https://github.com/google/flatbuffers/archive/971a68110e4fc1bace10fcb6deeb189e7e1a34ce.tar.gz",
701+
"https://mirror.bazel.build/github.com/google/flatbuffers/archive/v1.9.0.tar.gz",
702+
"https://github.com/google/flatbuffers/archive/v1.9.0.tar.gz",
703703
],
704704
build_file = clean_dep("//third_party/flatbuffers:flatbuffers.BUILD"),
705705
)

third_party/flatbuffers/flatbuffers.BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ cc_binary(
9898
"grpc/src/compiler/cpp_generator.h",
9999
"grpc/src/compiler/go_generator.cc",
100100
"grpc/src/compiler/go_generator.h",
101+
"grpc/src/compiler/java_generator.cc",
102+
"grpc/src/compiler/java_generator.h",
101103
"grpc/src/compiler/schema_interface.h",
102104
"src/flatc_main.cpp",
103105
"src/idl_gen_cpp.cpp",

0 commit comments

Comments
 (0)