systemlibs: unbundle @tblib_archive dep

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2020-10-07 17:36:07 -07:00
parent a8824caf56
commit fb2a86b000
3 changed files with 14 additions and 0 deletions
tensorflow
third_party/systemlibs

View File

@ -557,6 +557,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
tf_http_archive(
name = "tblib_archive",
build_file = clean_dep("//third_party:tblib.BUILD"),
system_build_file = clean_dep("//third_party/systemlibs:tblib.BUILD"),
urls = [
"http://mirror.tensorflow.org/files.pythonhosted.org/packages/ec/c4/8c651f3240a73c28a218194f3d527eb2be5a173d08501060cdee84ade33f/tblib-1.3.2.tar.gz",
"https://files.pythonhosted.org/packages/ec/c4/8c651f3240a73c28a218194f3d527eb2be5a173d08501060cdee84ade33f/tblib-1.3.2.tar.gz",

View File

@ -42,6 +42,7 @@ VALID_LIBS = [
"pybind11",
"six_archive",
"snappy",
"tblib_archive",
"termcolor_archive",
"wrapt",
"zlib",

12
third_party/systemlibs/tblib.BUILD vendored Normal file
View File

@ -0,0 +1,12 @@
licenses(["notice"]) # BSD 3-clause
filegroup(
name = "LICENSE",
visibility = ["//visibility:public"],
)
py_library(
name = "tblib",
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
)