Vijay Vasudevan | 8cc567b | 2016-05-26 11:05:13 -0800 | [diff] [blame] | 1 | workspace(name = "org_tensorflow") |
| 2 | |
A. Unique TensorFlower | 146c2da | 2018-12-17 15:59:15 -0800 | [diff] [blame] | 3 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 4 | |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 5 | http_archive( |
| 6 | name = "io_bazel_rules_closure", |
Laurent Le Brun | 8c22259 | 2019-01-04 20:37:31 +0100 | [diff] [blame] | 7 | sha256 = "43c9b882fa921923bcba764453f4058d102bece35a37c9f6383c713004aacff1", |
| 8 | strip_prefix = "rules_closure-9889e2348259a5aad7e805547c1a0cf311cfcd91", |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 9 | urls = [ |
Laurent Le Brun | 8c22259 | 2019-01-04 20:37:31 +0100 | [diff] [blame] | 10 | "https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/9889e2348259a5aad7e805547c1a0cf311cfcd91.tar.gz", |
| 11 | "https://github.com/bazelbuild/rules_closure/archive/9889e2348259a5aad7e805547c1a0cf311cfcd91.tar.gz", # 2018-12-21 |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 12 | ], |
| 13 | ) |
Gunhan Gulsoy | b4ae852 | 2018-09-26 02:31:31 -0700 | [diff] [blame] | 14 | |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 15 | load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories") |
Gunhan Gulsoy | b4ae852 | 2018-09-26 02:31:31 -0700 | [diff] [blame] | 16 | |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 17 | closure_repositories() |
| 18 | |
A. Unique TensorFlower | 62bc640 | 2018-12-13 00:11:34 -0800 | [diff] [blame] | 19 | load("//third_party/toolchains/preconfig/generate:archives.bzl", |
| 20 | "bazel_toolchains_archive") |
| 21 | |
| 22 | bazel_toolchains_archive() |
| 23 | |
| 24 | load( |
| 25 | "@bazel_toolchains//repositories:repositories.bzl", |
| 26 | bazel_toolchains_repositories = "repositories", |
A. Unique TensorFlower | 54cc77e | 2018-11-12 09:31:53 -0800 | [diff] [blame] | 27 | ) |
| 28 | |
A. Unique TensorFlower | 62bc640 | 2018-12-13 00:11:34 -0800 | [diff] [blame] | 29 | bazel_toolchains_repositories() |
| 30 | |
| 31 | load( |
A. Unique TensorFlower | b0022ad | 2019-02-06 15:41:09 -0800 | [diff] [blame^] | 32 | "@io_bazel_rules_docker//repositories:repositories.bzl", |
A. Unique TensorFlower | 62bc640 | 2018-12-13 00:11:34 -0800 | [diff] [blame] | 33 | container_repositories = "repositories", |
A. Unique TensorFlower | 54cc77e | 2018-11-12 09:31:53 -0800 | [diff] [blame] | 34 | ) |
| 35 | |
A. Unique TensorFlower | 62bc640 | 2018-12-13 00:11:34 -0800 | [diff] [blame] | 36 | container_repositories() |
A. Unique TensorFlower | 54cc77e | 2018-11-12 09:31:53 -0800 | [diff] [blame] | 37 | |
A. Unique TensorFlower | 62bc640 | 2018-12-13 00:11:34 -0800 | [diff] [blame] | 38 | load("//third_party/toolchains/preconfig/generate:workspace.bzl", |
| 39 | "remote_config_workspace") |
A. Unique TensorFlower | 54cc77e | 2018-11-12 09:31:53 -0800 | [diff] [blame] | 40 | |
| 41 | remote_config_workspace() |
| 42 | |
A. Unique TensorFlower | 146c2da | 2018-12-17 15:59:15 -0800 | [diff] [blame] | 43 | # Apple and Swift rules. |
| 44 | http_archive( |
| 45 | name = "build_bazel_rules_apple", |
A. Unique TensorFlower | b0022ad | 2019-02-06 15:41:09 -0800 | [diff] [blame^] | 46 | sha256 = "73b4980a318d203d3307f850e27e66ec5cc8d223147a3475a6f11597eb6438a5", |
| 47 | strip_prefix = "rules_apple-0.13.0", |
| 48 | urls = ["https://github.com/bazelbuild/rules_apple/archive/0.13.0.tar.gz"], |
A. Unique TensorFlower | 146c2da | 2018-12-17 15:59:15 -0800 | [diff] [blame] | 49 | ) |
| 50 | http_file( |
| 51 | name = "xctestrunner", |
| 52 | executable = 1, |
A. Unique TensorFlower | b0022ad | 2019-02-06 15:41:09 -0800 | [diff] [blame^] | 53 | urls = ["https://github.com/google/xctestrunner/releases/download/0.2.6/ios_test_runner.par"], |
A. Unique TensorFlower | 146c2da | 2018-12-17 15:59:15 -0800 | [diff] [blame] | 54 | ) |
| 55 | load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies") |
A. Unique TensorFlower | b0022ad | 2019-02-06 15:41:09 -0800 | [diff] [blame^] | 56 | apple_rules_dependencies() |
A. Unique TensorFlower | 146c2da | 2018-12-17 15:59:15 -0800 | [diff] [blame] | 57 | load("@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies") |
| 58 | swift_rules_dependencies() |
| 59 | |
Ilya Biryukov | 9e651e4 | 2018-03-22 05:33:42 -0700 | [diff] [blame] | 60 | # We must check the bazel version before trying to parse any other BUILD |
| 61 | # files, in case the parsing of those build files depends on the bazel |
| 62 | # version we require here. |
| 63 | load("//tensorflow:version_check.bzl", "check_bazel_version_at_least") |
A. Unique TensorFlower | c223fbd | 2019-01-15 10:15:20 -0800 | [diff] [blame] | 64 | check_bazel_version_at_least("0.19.0") |
Ilya Biryukov | 9e651e4 | 2018-03-22 05:33:42 -0700 | [diff] [blame] | 65 | |
Martin Wicke | bc456e3 | 2017-03-23 12:31:16 -0800 | [diff] [blame] | 66 | load("//tensorflow:workspace.bzl", "tf_workspace") |
Shanqing Cai | efd40e5 | 2017-01-08 20:31:30 -0800 | [diff] [blame] | 67 | |
Michael Case | 5105350 | 2018-06-05 17:47:19 -0700 | [diff] [blame] | 68 | load("//third_party/android:android_configure.bzl", "android_configure") |
| 69 | android_configure(name="local_config_android") |
| 70 | load("@local_config_android//:android.bzl", "android_workspace") |
| 71 | android_workspace() |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 72 | |
Kiril Gorovoy | 5b5976a | 2016-03-10 14:06:08 -0800 | [diff] [blame] | 73 | # Please add all new TensorFlow dependencies in workspace.bzl. |
Kiril Gorovoy | 77da168 | 2016-02-24 18:02:16 -0800 | [diff] [blame] | 74 | tf_workspace() |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 75 | |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 76 | http_archive( |
Michael Case | d90054e | 2018-02-07 14:36:00 -0800 | [diff] [blame] | 77 | name = "inception_v1", |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 78 | build_file = "//:models.BUILD", |
Michael Case | d90054e | 2018-02-07 14:36:00 -0800 | [diff] [blame] | 79 | sha256 = "7efe12a8363f09bc24d7b7a450304a15655a57a7751929b2c1593a71183bb105", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 80 | urls = [ |
Michael Case | d90054e | 2018-02-07 14:36:00 -0800 | [diff] [blame] | 81 | "http://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip", |
| 82 | "http://download.tensorflow.org/models/inception_v1.zip", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 83 | ], |
Dan Smilkov | f0e9bd3 | 2016-11-09 12:53:00 -0800 | [diff] [blame] | 84 | ) |
| 85 | |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 86 | http_archive( |
A. Unique TensorFlower | 53aabd5 | 2017-08-09 18:18:26 -0700 | [diff] [blame] | 87 | name = "mobile_ssd", |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 88 | build_file = "//:models.BUILD", |
A. Unique TensorFlower | 53aabd5 | 2017-08-09 18:18:26 -0700 | [diff] [blame] | 89 | sha256 = "bddd81ea5c80a97adfac1c9f770e6f55cbafd7cce4d3bbe15fbeb041e6b8f3e8", |
| 90 | urls = [ |
| 91 | "http://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip", |
| 92 | "http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip", |
| 93 | ], |
| 94 | ) |
| 95 | |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 96 | http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 97 | name = "mobile_multibox", |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 98 | build_file = "//:models.BUILD", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 99 | sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96", |
| 100 | urls = [ |
| 101 | "http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip", |
| 102 | "http://download.tensorflow.org/models/mobile_multibox_v1a.zip", |
| 103 | ], |
Andrew Harp | a30b992 | 2016-11-28 15:41:52 -0800 | [diff] [blame] | 104 | ) |
| 105 | |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 106 | http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 107 | name = "stylize", |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 108 | build_file = "//:models.BUILD", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 109 | sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa", |
| 110 | urls = [ |
| 111 | "http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip", |
| 112 | "http://download.tensorflow.org/models/stylize_v1.zip", |
| 113 | ], |
Dan Smilkov | 38a4afc | 2016-08-31 11:56:58 -0800 | [diff] [blame] | 114 | ) |
Pete Warden | 7d01f89 | 2017-08-18 09:32:30 -0700 | [diff] [blame] | 115 | |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 116 | http_archive( |
Pete Warden | 7d01f89 | 2017-08-18 09:32:30 -0700 | [diff] [blame] | 117 | name = "speech_commands", |
A. Unique TensorFlower | 5b14577 | 2018-11-30 11:11:23 -0800 | [diff] [blame] | 118 | build_file = "//:models.BUILD", |
Pete Warden | 7d01f89 | 2017-08-18 09:32:30 -0700 | [diff] [blame] | 119 | sha256 = "c3ec4fea3158eb111f1d932336351edfe8bd515bb6e87aad4f25dbad0a600d0c", |
| 120 | urls = [ |
| 121 | "http://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip", |
| 122 | "http://download.tensorflow.org/models/speech_commands_v0.01.zip", |
| 123 | ], |
| 124 | ) |