From 900762cd4bca45fd8382778bd65e17f2fe13bf2b Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Wed, 28 Nov 2018 15:35:29 +0800 Subject: [PATCH] systemlibs: unbundle keras_applications Signed-off-by: Jason Zaman --- third_party/keras_applications_archive/BUILD.system | 13 +++++++++++++ .../keras_applications_archive/workspace.bzl | 1 + third_party/systemlibs/syslibs_configure.bzl | 1 + 3 files changed, 15 insertions(+) create mode 100644 third_party/keras_applications_archive/BUILD.system diff --git a/third_party/keras_applications_archive/BUILD.system b/third_party/keras_applications_archive/BUILD.system new file mode 100644 index 00000000000..a3b58f15030 --- /dev/null +++ b/third_party/keras_applications_archive/BUILD.system @@ -0,0 +1,13 @@ +# Description: Keras Applications: set of pre-trained deep learning models. + +licenses(["notice"]) # MIT + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +) + +py_library( + name = "keras_applications", + visibility = ["//visibility:public"], +) diff --git a/third_party/keras_applications_archive/workspace.bzl b/third_party/keras_applications_archive/workspace.bzl index e90630fa974..cf9d15ca288 100644 --- a/third_party/keras_applications_archive/workspace.bzl +++ b/third_party/keras_applications_archive/workspace.bzl @@ -12,4 +12,5 @@ def repo(): "https://github.com/keras-team/keras-applications/archive/1.0.6.tar.gz", ], build_file = "//third_party/keras_applications_archive:BUILD.bazel", + system_build_file = "//third_party/keras_applications_archive:BUILD.system", ) diff --git a/third_party/systemlibs/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl index dbf4fd6e32f..85187587c90 100644 --- a/third_party/systemlibs/syslibs_configure.bzl +++ b/third_party/systemlibs/syslibs_configure.bzl @@ -26,6 +26,7 @@ VALID_LIBS = [ "icu", "jpeg", "jsoncpp_git", + "keras_applications_archive", "lmdb", "nasm", "nsync",