@@ -13,12 +13,19 @@ workspace(name = "tf_serving")
13
13
# 3. Request the new archive to be mirrored on mirror.bazel.build for more
14
14
# reliable downloads.
15
15
load ("//tensorflow_serving:repo.bzl" , "tensorflow_http_archive" )
16
+ load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
16
17
tensorflow_http_archive (
17
18
name = "org_tensorflow" ,
18
19
sha256 = "5ae3ba26552af0d5990e7937ca3079eb6f36d9d491b9a8b45dca6add91e35f98" ,
19
20
git_commit = "ba36eac6614d5c1f1e9bab6d2399749b68e8732e" ,
20
21
)
21
22
23
+ http_archive (
24
+ name = "bazel_skylib" ,
25
+ sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506" ,
26
+ url = "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz" ,
27
+ )
28
+
22
29
# Import all of TensorFlow Serving's external dependencies.
23
30
# Downstream projects (projects importing TensorFlow Serving) need to
24
31
# duplicate all code below in their WORKSPACE file in order to also initialize
@@ -27,11 +34,8 @@ load("//tensorflow_serving:workspace.bzl", "tf_serving_workspace")
27
34
tf_serving_workspace ()
28
35
29
36
# Check bazel version requirement, which is stricter than TensorFlow's.
30
- load (
31
- "@org_tensorflow//tensorflow:version_check.bzl" ,
32
- "check_bazel_version_at_least"
33
- )
34
- check_bazel_version_at_least ("5.1.1" )
37
+ load ("@bazel_skylib//lib:versions.bzl" , "versions" )
38
+ versions .check (minimum_bazel_version = "5.1.1" )
35
39
36
40
# Initialize TensorFlow's external dependencies.
37
41
load ("@org_tensorflow//tensorflow:workspace3.bzl" , "workspace" )
0 commit comments