提交 76b9fa22 编写于 作者: M Mihai Maruseac 提交者: TensorFlower Gardener

Bump zlib to 1.2.13.

Due to security issue, zlib 1.2.12 is yanked, just like 1.2.11 was before. So builds not using TF mirror will break.

See https://www.zlib.net

PiperOrigin-RevId: 481064905
上级 320d0fc5
...@@ -571,10 +571,10 @@ def _tf_repositories(): ...@@ -571,10 +571,10 @@ def _tf_repositories():
tf_http_archive( tf_http_archive(
name = "zlib", name = "zlib",
build_file = "//third_party:zlib.BUILD", build_file = "//third_party:zlib.BUILD",
sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9", sha256 = "b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30",
strip_prefix = "zlib-1.2.12", strip_prefix = "zlib-1.2.13",
system_build_file = "//third_party/systemlibs:zlib.BUILD", system_build_file = "//third_party/systemlibs:zlib.BUILD",
urls = tf_mirror_urls("https://zlib.net/zlib-1.2.12.tar.gz"), urls = tf_mirror_urls("https://zlib.net/zlib-1.2.13.tar.gz"),
) )
# LINT.IfChange # LINT.IfChange
......
...@@ -61,7 +61,7 @@ genrule( ...@@ -61,7 +61,7 @@ genrule(
name = "snappy_stubs_public_h", name = "snappy_stubs_public_h",
srcs = ["scripts/pnglibconf.h.prebuilt"], srcs = ["scripts/pnglibconf.h.prebuilt"],
outs = ["pnglibconf.h"], outs = ["pnglibconf.h"],
cmd = "sed -e 's/PNG_ZLIB_VERNUM 0/PNG_ZLIB_VERNUM 0x12c0/' $< >$@", cmd = "sed -e 's/PNG_ZLIB_VERNUM 0/PNG_ZLIB_VERNUM 0x12d0/' $< >$@",
) )
config_setting( config_setting(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册