From f5d29a57caff67d27f7e3ad5c36b4b09d19d50e0 Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Sat, 22 Sep 2018 01:01:51 +0800 Subject: [PATCH] systemlibs: unbundle gast --- tensorflow/workspace.bzl | 1 + third_party/systemlibs/gast.BUILD | 12 ++++++++++++ third_party/systemlibs/syslibs_configure.bzl | 1 + 3 files changed, 14 insertions(+) create mode 100644 third_party/systemlibs/gast.BUILD diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index 32c20d40871..d47d15315dc 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -324,6 +324,7 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""): sha256 = "7068908321ecd2774f145193c4b34a11305bd104b4551b09273dfd1d6a374930", strip_prefix = "gast-0.2.0", build_file = clean_dep("//third_party:gast.BUILD"), + system_build_file = clean_dep("//third_party/systemlibs:gast.BUILD"), ) tf_http_archive( diff --git a/third_party/systemlibs/gast.BUILD b/third_party/systemlibs/gast.BUILD new file mode 100644 index 00000000000..c6e1d0c4e0b --- /dev/null +++ b/third_party/systemlibs/gast.BUILD @@ -0,0 +1,12 @@ +licenses(["notice"]) # BSD 3-clause + +filegroup( + name = "PKG-INFO", + visibility = ["//visibility:public"], +) + +py_library( + name = "gast", + srcs_version = "PY2AND3", + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl index 7812b00d4d2..8b0ab39eaf6 100644 --- a/third_party/systemlibs/syslibs_configure.bzl +++ b/third_party/systemlibs/syslibs_configure.bzl @@ -20,6 +20,7 @@ VALID_LIBS = [ "cython", "double_conversion", "flatbuffers", + "gast_archive", "gif_archive", "grpc", "jemalloc",