mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[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:
committed by
PyTorch MergeBot
parent
1400fedf76
commit
a02e88d19c
6
third_party/BUCK.oss
vendored
6
third_party/BUCK.oss
vendored
@ -191,9 +191,11 @@ cxx_library(
|
||||
|
||||
cxx_library(
|
||||
name = "miniz",
|
||||
srcs = ["miniz-2.1.0/miniz.c"],
|
||||
srcs = [
|
||||
"miniz-3.0.2/miniz.c",
|
||||
],
|
||||
header_namespace = "",
|
||||
exported_headers = {"miniz.h": "miniz-2.1.0/miniz.h"},
|
||||
exported_headers = {"miniz.h": "miniz-3.0.2/miniz.h"},
|
||||
exported_preprocessor_flags = [
|
||||
"-DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS",
|
||||
],
|
||||
|
Reference in New Issue
Block a user