diff options
author | Jason Zaman <jason@perfinion.com> | 2018-09-06 22:04:03 +0800 |
---|---|---|
committer | Jason Zaman <jason@perfinion.com> | 2018-09-22 10:31:27 +0800 |
commit | 206d46704ef6d93e278a44222e2d65259b9f9bc4 (patch) | |
tree | 9682ba8348155f648bc3992a74a9f404bec15f92 /tensorflow/workspace.bzl | |
parent | 37f7bfbce884700295e6348506154be3a30f1457 (diff) |
systemlibs: unbundle absl_py dependency
absl_py has rules in many dirs so this uses system_link_files to put
files in the right place.
Signed-off-by: Jason Zaman <jason@perfinion.com>
Diffstat (limited to 'tensorflow/workspace.bzl')
-rwxr-xr-x | tensorflow/workspace.bzl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index ce68a46b96..f2e0c7e163 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -341,6 +341,11 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""): ], sha256 = "95160f778a62c7a60ddeadc7bf2d83f85a23a27359814aca12cf949e896fa82c", strip_prefix = "abseil-py-pypi-v0.2.2", + system_build_file = clean_dep("//third_party/systemlibs:absl_py.BUILD"), + system_link_files = { + "//third_party/systemlibs:absl_py.absl.flags.BUILD": "absl/flags/BUILD", + "//third_party/systemlibs:absl_py.absl.testing.BUILD": "absl/testing/BUILD", + }, ) tf_http_archive( |