Bump the zlib version used for keras build (for security update).
@@ -36,19 +36,15 @@ http_archive(
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.9.2.tar.gz"],
)
-# ZLIB
-# Need by com_google_protobuf. Note that the original URL from zlib side is not
-# available for now. We need to use bazel mirror as a backup.
+# ZLIB. Need by com_google_protobuf.
http_archive(
name = "zlib",
build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
- sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
- strip_prefix = "zlib-1.2.11",
- urls = [
- "https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz",
- "https://zlib.net/zlib-1.2.11.tar.gz",
- ],
+ sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9",
+ strip_prefix = "zlib-1.2.12",
+ urls = ["https://zlib.net/zlib-1.2.12.tar.gz"],
)
+
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
