Skip to content

Commit 42f507f

Browse files
authored
Merge pull request tensorflow#2313 from vladmos/update_tensorflow
Update syntaxnet/tensorflow submodule
2 parents 2138f8c + 84a7da4 commit 42f507f

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

syntaxnet/WORKSPACE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ tf_workspace(path_prefix="", tf_repo_name="org_tensorflow")
2323
# Test that Bazel is up-to-date.
2424
load("@org_tensorflow//tensorflow:workspace.bzl", "check_version")
2525
check_version("0.4.2")
26+
27+
bind(
28+
name = "protobuf",
29+
actual = "@protobuf_archive//:protobuf",
30+
)

syntaxnet/dragnn/tensorflow_ops.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ def cc_header_only_library(name, deps=[], **kwargs):
659659

660660
def tf_custom_op_library_additional_deps():
661661
return [
662-
"@protobuf//:protobuf",
662+
"@protobuf_archive//:protobuf",
663663
"//third_party/eigen3",
664664
"@org_tensorflow//tensorflow/core:framework_headers_lib",
665665
]

syntaxnet/syntaxnet/BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ cc_library(
7979
visibility = ["//visibility:public"],
8080
deps = [
8181
"@com_googlesource_code_re2//:re2",
82-
"@protobuf//:protobuf",
82+
"@protobuf_archive//:protobuf",
8383
"@org_tensorflow//third_party/eigen3",
8484
] + select({
8585
"//conditions:default": [
@@ -110,7 +110,6 @@ cc_library(
110110
srcs = ["test_main.cc"],
111111
linkopts = ["-lm"],
112112
deps = [
113-
"//external:gtest",
114113
"@org_tensorflow//tensorflow/core:lib",
115114
"@org_tensorflow//tensorflow/core:test",
116115
"@org_tensorflow//tensorflow/core:testlib",

syntaxnet/syntaxnet/syntaxnet.bzl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414
# ==============================================================================
1515

16-
load("@protobuf//:protobuf.bzl", "cc_proto_library")
17-
load("@protobuf//:protobuf.bzl", "py_proto_library")
16+
load("@protobuf_archive//:protobuf.bzl", "cc_proto_library")
17+
load("@protobuf_archive//:protobuf.bzl", "py_proto_library")
1818

1919

2020
def if_cuda(if_true, if_false = []):
@@ -43,9 +43,9 @@ def tf_proto_library(name, srcs=[], has_services=False,
4343
cc_proto_library(name=name,
4444
srcs=srcs,
4545
deps=deps,
46-
cc_libs = ["@protobuf//:protobuf"],
47-
protoc="@protobuf//:protoc",
48-
default_runtime="@protobuf//:protobuf",
46+
cc_libs = ["@protobuf_archive//:protobuf"],
47+
protoc="@protobuf_archive//:protoc",
48+
default_runtime="@protobuf_archive//:protobuf",
4949
testonly=testonly,
5050
visibility=visibility,)
5151

@@ -54,8 +54,8 @@ def tf_proto_library_py(name, srcs=[], deps=[], visibility=None, testonly=0):
5454
srcs=srcs,
5555
srcs_version = "PY2AND3",
5656
deps=deps,
57-
default_runtime="@protobuf//:protobuf_python",
58-
protoc="@protobuf//:protoc",
57+
default_runtime="@protobuf_archive//:protobuf_python",
58+
protoc="@protobuf_archive//:protoc",
5959
visibility=visibility,
6060
testonly=testonly,)
6161

syntaxnet/tensorflow

Submodule tensorflow updated 5448 files

0 commit comments

Comments
 (0)