[PATCH] D40655: [cmake] Enable zlib support on windows

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 08:45:00 PST 2017


labath created this revision.
Herald added subscribers: aprantl, mgorny.

zlib support was hard-wired to off for (non-cygwin) windows targets.
This disables some features, such as reading debug info from compressed
dwarf sections.

This has been this way since zlib support was added in 2013 (r180083),
but there is no obvious reason for that. Zlib is perfectly capable of
being compiled for windows (it even has a cmake file that works out of
the box).

This enables one to turn on zlib support on windows, if one has zlib
avaliable.


https://reviews.llvm.org/D40655

Files:
  cmake/config-ix.cmake
  lib/Support/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40655.124950.patch
Type: text/x-patch
Size: 4196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171130/28f88c42/attachment.bin>


More information about the llvm-commits mailing list