Vijay Vasudevan | 8cc567b | 2016-05-26 11:05:13 -0800 | [diff] [blame] | 1 | workspace(name = "org_tensorflow") |
| 2 | |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 3 | http_archive( |
| 4 | name = "io_bazel_rules_closure", |
Justine Tunney | 770a271 | 2017-05-10 15:47:55 -0700 | [diff] [blame] | 5 | sha256 = "4be8a887f6f38f883236e77bb25c2da10d506f2bf1a8e5d785c0f35574c74ca4", |
| 6 | strip_prefix = "rules_closure-aac19edc557aec9b603cd7ffe359401264ceff0d", |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 7 | urls = [ |
Justine Tunney | d0afbc1 | 2017-05-11 19:21:51 -0700 | [diff] [blame] | 8 | "http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/aac19edc557aec9b603cd7ffe359401264ceff0d.tar.gz", # 2017-05-10 |
Justine Tunney | 770a271 | 2017-05-10 15:47:55 -0700 | [diff] [blame] | 9 | "https://github.com/bazelbuild/rules_closure/archive/aac19edc557aec9b603cd7ffe359401264ceff0d.tar.gz", |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 10 | ], |
| 11 | ) |
| 12 | |
| 13 | load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories") |
| 14 | |
| 15 | closure_repositories() |
| 16 | |
Martin Wicke | bc456e3 | 2017-03-23 12:31:16 -0800 | [diff] [blame] | 17 | load("//tensorflow:workspace.bzl", "tf_workspace") |
Shanqing Cai | efd40e5 | 2017-01-08 20:31:30 -0800 | [diff] [blame] | 18 | |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 19 | # Uncomment and update the paths in these entries to build the Android demo. |
| 20 | #android_sdk_repository( |
| 21 | # name = "androidsdk", |
| 22 | # api_level = 23, |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame^] | 23 | # # Ensure that you have the build_tools_version below installed in the |
A. Unique TensorFlower | ccbc899 | 2017-04-04 16:10:08 -0800 | [diff] [blame] | 24 | # # SDK manager as it updates periodically. |
| 25 | # build_tools_version = "25.0.2", |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 26 | # # Replace with path to Android SDK on your system |
| 27 | # path = "<PATH_TO_SDK>", |
| 28 | #) |
| 29 | # |
Andrew Harp | 21aafcd | 2017-03-23 11:11:54 -0800 | [diff] [blame] | 30 | # Android NDK r12b is recommended (higher may cause issues with Bazel) |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 31 | #android_ndk_repository( |
| 32 | # name="androidndk", |
| 33 | # path="<PATH_TO_NDK>", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame^] | 34 | # # This needs to be 14 or higher to compile TensorFlow. |
A. Unique TensorFlower | ccbc899 | 2017-04-04 16:10:08 -0800 | [diff] [blame] | 35 | # # Note that the NDK version is not the API level. |
| 36 | # api_level=14) |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 37 | |
Kiril Gorovoy | 5b5976a | 2016-03-10 14:06:08 -0800 | [diff] [blame] | 38 | # Please add all new TensorFlow dependencies in workspace.bzl. |
Kiril Gorovoy | 77da168 | 2016-02-24 18:02:16 -0800 | [diff] [blame] | 39 | tf_workspace() |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 40 | |
Dan Smilkov | f0e9bd3 | 2016-11-09 12:53:00 -0800 | [diff] [blame] | 41 | new_http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame^] | 42 | name = "inception5h", |
| 43 | build_file = "models.BUILD", |
| 44 | sha256 = "d13569f6a98159de37e92e9c8ec4dae8f674fbf475f69fe6199b514f756d4364", |
| 45 | urls = [ |
| 46 | "http://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip", |
| 47 | "http://download.tensorflow.org/models/inception5h.zip", |
| 48 | ], |
Dan Smilkov | f0e9bd3 | 2016-11-09 12:53:00 -0800 | [diff] [blame] | 49 | ) |
| 50 | |
Andrew Harp | a30b992 | 2016-11-28 15:41:52 -0800 | [diff] [blame] | 51 | new_http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame^] | 52 | name = "mobile_multibox", |
| 53 | build_file = "models.BUILD", |
| 54 | sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96", |
| 55 | urls = [ |
| 56 | "http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip", |
| 57 | "http://download.tensorflow.org/models/mobile_multibox_v1a.zip", |
| 58 | ], |
Andrew Harp | a30b992 | 2016-11-28 15:41:52 -0800 | [diff] [blame] | 59 | ) |
| 60 | |
Andrew Harp | 6426c4e | 2017-01-11 14:05:52 -0800 | [diff] [blame] | 61 | new_http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame^] | 62 | name = "stylize", |
| 63 | build_file = "models.BUILD", |
| 64 | sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa", |
| 65 | urls = [ |
| 66 | "http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip", |
| 67 | "http://download.tensorflow.org/models/stylize_v1.zip", |
| 68 | ], |
Dan Smilkov | 38a4afc | 2016-08-31 11:56:58 -0800 | [diff] [blame] | 69 | ) |