[LLVMdev] proposal to avoid zlib dependency.

Óscar Fuentes ofv at wanadoo.es
Tue Sep 16 19:47:27 PDT 2014


Saleem Abdulrasool <compnerd at compnerd.org> writes:

> On Tue, Sep 16, 2014 at 4:48 PM, Bob Wilson <bob.wilson at apple.com> wrote:
>
>> If you build with configure+make, just run configure with —disable-zlib.
>> We do this routinely, so I’m pretty sure it works.
>>
>
> It "works" as in it builds.  However, the support for it is disabled since
> zlib::compress will always return StatusUnsupported, so the debug
> information will just not be compressed.  Effectively, compressed DWARF is
> unsupported on Windows.

IIUC zlib availability is tested and the library used if present. Do you
mean that LLVM does not use zlib on Windows when the library is present?




More information about the llvm-dev mailing list