blob: 0f59c44e391369ac68a593a75bf90f3bc76b3461 [file] [log] [blame]
Vijay Vasudevan8cc567b2016-05-26 11:05:13 -08001workspace(name = "org_tensorflow")
2
A. Unique TensorFlower5b145772018-11-30 11:11:23 -08003load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4
Justine Tunney02f276c2017-02-03 17:13:49 -08005http_archive(
6 name = "io_bazel_rules_closure",
Yifei Feng22f3a972018-04-23 21:19:14 -07007 sha256 = "a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae",
8 strip_prefix = "rules_closure-dbb96841cc0a5fb2664c37822803b06dab20c7d1",
Justine Tunney02f276c2017-02-03 17:13:49 -08009 urls = [
Yifei Feng22f3a972018-04-23 21:19:14 -070010 "https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz",
11 "https://github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz", # 2018-04-13
Justine Tunney02f276c2017-02-03 17:13:49 -080012 ],
13)
Gunhan Gulsoyb4ae8522018-09-26 02:31:31 -070014
Justine Tunney02f276c2017-02-03 17:13:49 -080015load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
Gunhan Gulsoyb4ae8522018-09-26 02:31:31 -070016
Justine Tunney02f276c2017-02-03 17:13:49 -080017closure_repositories()
18
A. Unique TensorFlower54cc77e2018-11-12 09:31:53 -080019http_archive(
20 name = "base_images_docker",
21 sha256 = "e2b1b7254270bb7605e814a9dbf6d1e4ae04a11136ff1714fbfdabe3f87f7cf9",
22 strip_prefix = "base-images-docker-12801524f867e657fbb5d1a74f31618aff181ac6",
23 urls = ["https://github.com/GoogleCloudPlatform/base-images-docker/archive/12801524f867e657fbb5d1a74f31618aff181ac6.tar.gz"],
24)
25
26http_archive(
27 name = "bazel_toolchains",
28 sha256 = "15b5858b1b5541ec44df31b94c3b8672815b31d71215a98398761ea9f4c4eedb",
29 strip_prefix = "bazel-toolchains-6200b238c9c2d137c0d9a7262c80cc71d98e692b",
30 urls = [
31 "https://github.com/bazelbuild/bazel-toolchains/archive/6200b238c9c2d137c0d9a7262c80cc71d98e692b.tar.gz",
32 ],
33)
34
35http_archive(
36 name = "io_bazel_rules_docker",
37 sha256 = "29d109605e0d6f9c892584f07275b8c9260803bf0c6fcb7de2623b2bedc910bd",
38 strip_prefix = "rules_docker-0.5.1",
39 urls = ["https://github.com/bazelbuild/rules_docker/archive/v0.5.1.tar.gz"],
40)
41
42load("//third_party/toolchains/preconfig/generate:workspace.bzl", "remote_config_workspace")
43
44remote_config_workspace()
45
Ilya Biryukov9e651e42018-03-22 05:33:42 -070046# We must check the bazel version before trying to parse any other BUILD
47# files, in case the parsing of those build files depends on the bazel
48# version we require here.
49load("//tensorflow:version_check.bzl", "check_bazel_version_at_least")
Jason Zamanb41761c2018-10-14 11:28:53 +080050check_bazel_version_at_least("0.18.0")
Ilya Biryukov9e651e42018-03-22 05:33:42 -070051
Martin Wickebc456e32017-03-23 12:31:16 -080052load("//tensorflow:workspace.bzl", "tf_workspace")
Shanqing Caiefd40e52017-01-08 20:31:30 -080053
Michael Case51053502018-06-05 17:47:19 -070054load("//third_party/android:android_configure.bzl", "android_configure")
55android_configure(name="local_config_android")
56load("@local_config_android//:android.bzl", "android_workspace")
57android_workspace()
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080058
Kiril Gorovoy5b5976a2016-03-10 14:06:08 -080059# Please add all new TensorFlow dependencies in workspace.bzl.
Kiril Gorovoy77da1682016-02-24 18:02:16 -080060tf_workspace()
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080061
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080062http_archive(
Michael Cased90054e2018-02-07 14:36:00 -080063 name = "inception_v1",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080064 build_file = "//:models.BUILD",
Michael Cased90054e2018-02-07 14:36:00 -080065 sha256 = "7efe12a8363f09bc24d7b7a450304a15655a57a7751929b2c1593a71183bb105",
Justine Tunney52b4d472017-05-17 16:13:33 -070066 urls = [
Michael Cased90054e2018-02-07 14:36:00 -080067 "http://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip",
68 "http://download.tensorflow.org/models/inception_v1.zip",
Justine Tunney52b4d472017-05-17 16:13:33 -070069 ],
Dan Smilkovf0e9bd32016-11-09 12:53:00 -080070)
71
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080072http_archive(
A. Unique TensorFlower53aabd52017-08-09 18:18:26 -070073 name = "mobile_ssd",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080074 build_file = "//:models.BUILD",
A. Unique TensorFlower53aabd52017-08-09 18:18:26 -070075 sha256 = "bddd81ea5c80a97adfac1c9f770e6f55cbafd7cce4d3bbe15fbeb041e6b8f3e8",
76 urls = [
77 "http://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
78 "http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
79 ],
80)
81
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080082http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070083 name = "mobile_multibox",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080084 build_file = "//:models.BUILD",
Justine Tunney52b4d472017-05-17 16:13:33 -070085 sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96",
86 urls = [
87 "http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip",
88 "http://download.tensorflow.org/models/mobile_multibox_v1a.zip",
89 ],
Andrew Harpa30b9922016-11-28 15:41:52 -080090)
91
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080092http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070093 name = "stylize",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080094 build_file = "//:models.BUILD",
Justine Tunney52b4d472017-05-17 16:13:33 -070095 sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa",
96 urls = [
97 "http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip",
98 "http://download.tensorflow.org/models/stylize_v1.zip",
99 ],
Dan Smilkov38a4afc2016-08-31 11:56:58 -0800100)
Pete Warden7d01f892017-08-18 09:32:30 -0700101
A. Unique TensorFlower5b145772018-11-30 11:11:23 -0800102http_archive(
Pete Warden7d01f892017-08-18 09:32:30 -0700103 name = "speech_commands",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -0800104 build_file = "//:models.BUILD",
Pete Warden7d01f892017-08-18 09:32:30 -0700105 sha256 = "c3ec4fea3158eb111f1d932336351edfe8bd515bb6e87aad4f25dbad0a600d0c",
106 urls = [
107 "http://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip",
108 "http://download.tensorflow.org/models/speech_commands_v0.01.zip",
109 ],
110)
A. Unique TensorFlower54cc77e2018-11-12 09:31:53 -0800111