Skip to content

Commit

Permalink
Merge pull request #56013 from tensorflow/mm-cp-70b7ef24ee8ea830d93f8…
Browse files Browse the repository at this point in the history
…ce8a38e6f34ad0257be-on-r2.7

Bump zlib to 1.2.12.
  • Loading branch information
mihaimaruseac committed May 8, 2022
2 parents 64f7ea7 + 1202705 commit b275f58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions tensorflow/workspace2.bzl
Expand Up @@ -699,15 +699,16 @@ def _tf_repositories():
],
)

# Note: if you update this, you have to update libpng too. See cl/437813808
tf_http_archive(
name = "zlib",
build_file = "//third_party:zlib.BUILD",
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
strip_prefix = "zlib-1.2.11",
sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9",
strip_prefix = "zlib-1.2.12",
system_build_file = "//third_party/systemlibs:zlib.BUILD",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.11.tar.gz",
"https://zlib.net/zlib-1.2.11.tar.gz",
"https://storage.googleapis.com/mirror.tensorflow.org/zlib.net/zlib-1.2.12.tar.gz",
"https://zlib.net/zlib-1.2.12.tar.gz",
],
)

Expand Down
2 changes: 1 addition & 1 deletion third_party/png.BUILD
Expand Up @@ -61,7 +61,7 @@ genrule(
name = "snappy_stubs_public_h",
srcs = ["scripts/pnglibconf.h.prebuilt"],
outs = ["pnglibconf.h"],
cmd = "sed -e 's/PNG_ZLIB_VERNUM 0/PNG_ZLIB_VERNUM 0x12b0/' $< >$@",
cmd = "sed -e 's/PNG_ZLIB_VERNUM 0/PNG_ZLIB_VERNUM 0x12c0/' $< >$@",
)

config_setting(
Expand Down

0 comments on commit b275f58

Please sign in to comment.