blob: edf655f6a7b0ab2781cf2d349732a102aedff112 [file] [log] [blame]
Vijay Vasudevan8cc567b2016-05-26 11:05:13 -08001workspace(name = "org_tensorflow")
2
Justine Tunney02f276c2017-02-03 17:13:49 -08003http_archive(
4 name = "io_bazel_rules_closure",
Justine Tunney770a2712017-05-10 15:47:55 -07005 sha256 = "4be8a887f6f38f883236e77bb25c2da10d506f2bf1a8e5d785c0f35574c74ca4",
6 strip_prefix = "rules_closure-aac19edc557aec9b603cd7ffe359401264ceff0d",
Justine Tunney02f276c2017-02-03 17:13:49 -08007 urls = [
Justine Tunneyd0afbc12017-05-11 19:21:51 -07008 "http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/aac19edc557aec9b603cd7ffe359401264ceff0d.tar.gz", # 2017-05-10
Justine Tunney770a2712017-05-10 15:47:55 -07009 "https://github.com/bazelbuild/rules_closure/archive/aac19edc557aec9b603cd7ffe359401264ceff0d.tar.gz",
Justine Tunney02f276c2017-02-03 17:13:49 -080010 ],
11)
12
13load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
14
15closure_repositories()
16
Martin Wickebc456e32017-03-23 12:31:16 -080017load("//tensorflow:workspace.bzl", "tf_workspace")
Shanqing Caiefd40e52017-01-08 20:31:30 -080018
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080019# 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 Tunney52b4d472017-05-17 16:13:33 -070023# # Ensure that you have the build_tools_version below installed in the
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -080024# # SDK manager as it updates periodically.
25# build_tools_version = "25.0.2",
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080026# # Replace with path to Android SDK on your system
27# path = "<PATH_TO_SDK>",
28#)
29#
Andrew Harp21aafcd2017-03-23 11:11:54 -080030# Android NDK r12b is recommended (higher may cause issues with Bazel)
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080031#android_ndk_repository(
32# name="androidndk",
33# path="<PATH_TO_NDK>",
Justine Tunney52b4d472017-05-17 16:13:33 -070034# # This needs to be 14 or higher to compile TensorFlow.
A. Unique TensorFlowerccbc8992017-04-04 16:10:08 -080035# # Note that the NDK version is not the API level.
36# api_level=14)
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080037
Kiril Gorovoy5b5976a2016-03-10 14:06:08 -080038# Please add all new TensorFlow dependencies in workspace.bzl.
Kiril Gorovoy77da1682016-02-24 18:02:16 -080039tf_workspace()
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080040
Dan Smilkovf0e9bd32016-11-09 12:53:00 -080041new_http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070042 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 Smilkovf0e9bd32016-11-09 12:53:00 -080049)
50
Andrew Harpa30b9922016-11-28 15:41:52 -080051new_http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070052 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 Harpa30b9922016-11-28 15:41:52 -080059)
60
Andrew Harp6426c4e2017-01-11 14:05:52 -080061new_http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070062 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 Smilkov38a4afc2016-08-31 11:56:58 -080069)