@@ -2,6 +2,22 @@ workspace(name = "org_tensorflow_tensorboard")
22
33load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
44
5+ http_archive (
6+ name = "bazel_skylib" ,
7+ sha256 = "07b4117379dde7ab382345c3b0f5edfc6b7cff6c93756eac63da121e0bbcc5de" ,
8+ strip_prefix = "bazel-skylib-1.1.1" ,
9+ urls = [
10+ "http://mirror.tensorflow.org/github.com/bazelbuild/bazel-skylib/archive/1.1.1.tar.gz" ,
11+ "https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz" , # 2021-09-27
12+ ],
13+ )
14+
15+ load ("@bazel_skylib//lib:versions.bzl" , "versions" )
16+
17+ # Keep this version in sync with the BAZEL environment variable defined
18+ # in our .github/workflows/ci.yml config.
19+ versions .check (minimum_bazel_version = "4.0.0" )
20+
521http_archive (
622 name = "io_bazel_rules_webtesting" ,
723 sha256 = "9bb461d5ef08e850025480bab185fd269242d4e533bca75bfb748001ceb343c3" ,
@@ -73,35 +89,6 @@ http_archive(
7389 ],
7490)
7591
76- http_archive (
77- name = "org_tensorflow" ,
78- patches = [
79- # Patch TF's python_configure.bzl to ensure it reconfigures its python
80- # toolchain when environment variables like `PATH` and `PYTHONPATH`
81- # change, to avoid the stale genrule py_binary issue described in:
82- # https://github.com/tensorflow/tensorboard/issues/4862
83- "//third_party:tensorflow.patch" ,
84- ],
85- # NOTE: when updating this, MAKE SURE to also update the protobuf_js runtime version
86- # in third_party/workspace.bzl to >= the protobuf/protoc version provided by TF.
87- sha256 = "2595a5c401521f20a2734c4e5d54120996f8391f00bb62a57267d930bce95350" ,
88- strip_prefix = "tensorflow-2.3.0" ,
89- urls = [
90- "http://mirror.tensorflow.org/github.com/tensorflow/tensorflow/archive/v2.3.0.tar.gz" , # 2020-07-23
91- "https://github.com/tensorflow/tensorflow/archive/v2.3.0.tar.gz" ,
92- ],
93- )
94-
95- load ("@org_tensorflow//tensorflow:workspace.bzl" , "tf_workspace" )
96-
97- tf_workspace ()
98-
99- load ("@bazel_skylib//lib:versions.bzl" , "versions" )
100-
101- # Keep this version in sync with the BAZEL environment variable defined
102- # in our .github/workflows/ci.yml config.
103- versions .check (minimum_bazel_version = "3.7.0" )
104-
10592load ("@io_bazel_rules_sass//:package.bzl" , "rules_sass_dependencies" )
10693
10794rules_sass_dependencies ()
@@ -110,22 +97,33 @@ load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories")
11097
11198sass_repositories ()
11299
100+ # gRPC.
101+ http_archive (
102+ name = "com_github_grpc_grpc" ,
103+ sha256 = "b2f2620c762427bfeeef96a68c1924319f384e877bc0e084487601e4cc6e434c" ,
104+ strip_prefix = "grpc-1.42.0" ,
105+ urls = [
106+ "http://mirror.tensorflow.org/github.com/grpc/grpc/archive/v1.42.0.tar.gz" ,
107+ "https://github.com/grpc/grpc/archive/v1.42.0.tar.gz" , # 2021-11-17
108+ ],
109+ )
110+
113111load ("@com_github_grpc_grpc//bazel:grpc_deps.bzl" , "grpc_deps" )
114112
115113grpc_deps ()
116114
117- load ("@upb //bazel:repository_defs .bzl" , "bazel_version_repository " )
115+ load ("@com_github_grpc_grpc //bazel:grpc_extra_deps .bzl" , "grpc_extra_deps " )
118116
119- bazel_version_repository ( name = "bazel_version" )
117+ grpc_extra_deps ( )
120118
121119http_archive (
122120 name = "rules_rust" ,
123- sha256 = "9c7d7fd4378d75232858423d574cff677b16ac9a49cd1a11df545a6e72a315ca " ,
124- strip_prefix = "rules_rust-42a674093251fb6a603a2652980c9be28a6fea50 " ,
121+ sha256 = "08109dccfa5bbf674ff4dba82b15d40d85b07436b02e62ab27e0b894f45bb4a3 " ,
122+ strip_prefix = "rules_rust-d5ab4143245af8b33d1947813d411a6cae838409 " ,
125123 urls = [
126- # Master branch as of 2021-04-14
127- "http://mirror.tensorflow.org/github.com/bazelbuild/rules_rust/archive/42a674093251fb6a603a2652980c9be28a6fea50 .tar.gz" ,
128- "https://github.com/bazelbuild/rules_rust/archive/42a674093251fb6a603a2652980c9be28a6fea50 .tar.gz" ,
124+ # Master branch as of 2022-01-31
125+ "http://mirror.tensorflow.org/github.com/bazelbuild/rules_rust/archive/d5ab4143245af8b33d1947813d411a6cae838409 .tar.gz" ,
126+ "https://github.com/bazelbuild/rules_rust/archive/d5ab4143245af8b33d1947813d411a6cae838409 .tar.gz" ,
129127 ],
130128)
131129
0 commit comments