[miniz] Bump miniz version to 3.0.2 and add patch for zip64 (#140041)

Summary:
Bump miniz version from 2.1.0 to 3.0.2 and apply these patches:

* #79636 patches internal BUCK and bazel build
* #138959 adds `bool compute_crc32` argument
* miniz PR: https://github.com/richgel999/miniz/pull/324 to support
  zip64

Anyone bumping miniz version again, please apply these patches as well.

Test Plan:
Rely on unit test

Imported from OSS

Differential Revision: D65586230

Pull Request resolved: https://github.com/pytorch/pytorch/pull/140041
Approved by: https://github.com/mikaylagawarecki
This commit is contained in:
Mengwei Liu
2024-11-09 00:13:16 +00:00
committed by PyTorch MergeBot
parent 1400fedf76
commit a02e88d19c
18 changed files with 701 additions and 354 deletions

View File

@ -47,7 +47,7 @@ def define_targets(rules):
deps = [
":caffe2_headers",
"//c10",
"//third_party/miniz-2.1.0:miniz",
"//third_party/miniz-3.0.2:miniz",
"@com_github_glog//:glog",
],
)