diff options
author | Jason Zaman <jason@perfinion.com> | 2018-09-07 17:04:47 +0800 |
---|---|---|
committer | Jason Zaman <jason@perfinion.com> | 2018-09-22 10:31:27 +0800 |
commit | ed5578687b52d905a40859b08818f8810faadbee (patch) | |
tree | 9b2a696c275526d8c51cadeb566a6002c3b11d51 | |
parent | 206d46704ef6d93e278a44222e2d65259b9f9bc4 (diff) |
systemlibs: unbundle google_cloud_cpp
Signed-off-by: Jason Zaman <jason@perfinion.com>
-rwxr-xr-x | tensorflow/workspace.bzl | 4 | ||||
-rw-r--r-- | third_party/systemlibs/google_cloud_cpp.BUILD | 6 | ||||
-rw-r--r-- | third_party/systemlibs/google_cloud_cpp.google.cloud.bigtable.BUILD | 7 | ||||
-rw-r--r-- | third_party/systemlibs/syslibs_configure.bzl | 1 |
4 files changed, 18 insertions, 0 deletions
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index f2e0c7e163..0e73e911c3 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -179,6 +179,10 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""): ], sha256 = "fdd3b3aecce60987e5525e55bf3a21d68a8695320bd5b980775af6507eec3944", strip_prefix = "google-cloud-cpp-14760a86c4ffab9943b476305c4fe927ad95db1c", + system_build_file = clean_dep("//third_party/systemlibs:google_cloud_cpp.BUILD"), + system_link_files = { + "//third_party/systemlibs:google_cloud_cpp.google.cloud.bigtable.BUILD": "google/cloud/bigtable/BUILD", + }, ) tf_http_archive( diff --git a/third_party/systemlibs/google_cloud_cpp.BUILD b/third_party/systemlibs/google_cloud_cpp.BUILD new file mode 100644 index 0000000000..cbe6e10ba5 --- /dev/null +++ b/third_party/systemlibs/google_cloud_cpp.BUILD @@ -0,0 +1,6 @@ +licenses(["notice"]) # Apache 2.0 + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/google_cloud_cpp.google.cloud.bigtable.BUILD b/third_party/systemlibs/google_cloud_cpp.google.cloud.bigtable.BUILD new file mode 100644 index 0000000000..b59d565390 --- /dev/null +++ b/third_party/systemlibs/google_cloud_cpp.google.cloud.bigtable.BUILD @@ -0,0 +1,7 @@ +licenses(["notice"]) # Apache 2.0 + +cc_library( + name = "bigtable_client", + linkopts = ["-lbigtable_client"], + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl index bdee56c766..86ee25ebd4 100644 --- a/third_party/systemlibs/syslibs_configure.bzl +++ b/third_party/systemlibs/syslibs_configure.bzl @@ -13,6 +13,7 @@ VALID_LIBS = [ "absl_py", "astor_archive", "boringssl", + "com_github_googlecloudplatform_google_cloud_cpp", "com_googlesource_code_re2", "curl", "cython", |