systemlibs: unbundle @dill_archive dep

Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
Jason Zaman 2020-10-07 17:35:07 -07:00
parent 5e9107066d
commit a8824caf56
3 changed files with 14 additions and 0 deletions

View File

@ -545,6 +545,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
tf_http_archive(
name = "dill_archive",
build_file = clean_dep("//third_party:dill.BUILD"),
system_build_file = clean_dep("//third_party/systemlibs:dill.BUILD"),
urls = [
"http://mirror.tensorflow.org/files.pythonhosted.org/packages/c7/11/345f3173809cea7f1a193bfbf02403fff250a3360e0e118a1630985e547d/dill-0.3.1.1.tar.gz",
"https://files.pythonhosted.org/packages/c7/11/345f3173809cea7f1a193bfbf02403fff250a3360e0e118a1630985e547d/dill-0.3.1.1.tar.gz",

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

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

View File

@ -20,6 +20,7 @@ VALID_LIBS = [
"com_googlesource_code_re2",
"curl",
"cython",
"dill_archive",
"double_conversion",
"enum34_archive",
"flatbuffers",