mirror of https://github.com/nodejs/node.git
dccdc51788
Fix the compile flags so that zlib can run on CPUs that do not have SSSE3/SSE4.2/etc. Do not compile zlib with flags that indicate that those features are available, and instead enable them selectively for functions that use them. There are probably better way to do this, e.g. through gyp file modifications as suggested in the issue. However, this patch should do just fine until that happens. Fixes: https://github.com/nodejs/node/issues/32553 PR-URL: https://github.com/nodejs/node/pull/32627 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
---|---|---|
.. | ||
contrib | ||
patches | ||
win32 | ||
BUILD.gn | ||
LICENSE | ||
OWNERS | ||
README.chromium | ||
adler32.c | ||
adler32_simd.c | ||
adler32_simd.h | ||
arm_features.c | ||
arm_features.h | ||
chromeconf.h | ||
compress.c | ||
crc32.c | ||
crc32.h | ||
crc32_simd.c | ||
crc32_simd.h | ||
crc_folding.c | ||
deflate.c | ||
deflate.h | ||
fill_window_sse.c | ||
gzclose.c | ||
gzguts.h | ||
gzlib.c | ||
gzread.c | ||
gzwrite.c | ||
infback.c | ||
inffast.c | ||
inffast.h | ||
inffixed.h | ||
inflate.c | ||
inflate.h | ||
inftrees.c | ||
inftrees.h | ||
simd_stub.c | ||
trees.c | ||
trees.h | ||
uncompr.c | ||
x86.c | ||
x86.h | ||
zconf.h | ||
zlib.gyp | ||
zlib.h | ||
zutil.c | ||
zutil.h |
README.chromium
Name: zlib
Short Name: zlib
URL: http://zlib.net/
Version: 1.2.11
Security Critical: yes
License: Custom license
License File: LICENSE
License Android Compatible: yes
Description:
"A massively spiffy yet delicately unobtrusive compression library."
zlib is a free, general-purpose, legally unencumbered lossless data-compression
library. zlib implements the "deflate" compression algorithm described by RFC
1951, which combines the LZ77 (Lempel-Ziv) algorithm with Huffman coding. zlib
also implements the zlib (RFC 1950) and gzip (RFC 1952) wrapper formats.
Local Modifications:
- Only source code from the zlib distribution used to build the zlib and
minizip libraries are present. Many other files have been omitted. Only *.c
and *.h files from the upstream root directory and contrib/minizip were
imported.
- The contents of the google directory are original Chromium-specific
additions.
- Added chromeconf.h
- Plus the changes in 'patches' folder.
- Code in contrib/ other than contrib/minizip was added to match zlib's
contributor layout.