aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE31
1 files changed, 31 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 2e1b018e14..26bfa1f15f 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -15,6 +15,37 @@
load("//tensorflow:workspace.bzl", "tf_workspace")
tf_workspace()
+# grpc expects //external:protobuf_clib and //external:protobuf_compiler
+# to point to the protobuf's compiler library.
+bind(
+ name = "protobuf_clib",
+ actual = "//google/protobuf:protoc_lib",
+)
+
+bind(
+ name = "protobuf_compiler",
+ actual = "//google/protobuf:protoc_lib",
+)
+
+git_repository(
+ name = "grpc",
+ commit = "73979f4",
+ init_submodules = True,
+ remote = "https://github.com/grpc/grpc.git",
+)
+
+# protobuf expects //external:grpc_cpp_plugin to point to grpc's
+# C++ plugin code generator.
+bind(
+ name = "grpc_cpp_plugin",
+ actual = "@grpc//:grpc_cpp_plugin",
+)
+
+bind(
+ name = "grpc_lib",
+ actual = "@grpc//:grpc++_unsecure",
+)
+
# TENSORBOARD_BOWER_AUTOGENERATED_BELOW_THIS_LINE_DO_NOT_EDIT
new_git_repository(