[LLVMdev] proposal to avoid zlib dependency.

Bob Wilson bob.wilson at apple.com
Tue Sep 16 16:48:40 PDT 2014


If you build with configure+make, just run configure with —disable-zlib. We do this routinely, so I’m pretty sure it works.

> On Sep 16, 2014, at 3:42 PM, Reid Kleckner <rnk at google.com> wrote:
> 
> It might not be available, so all codepaths have to recover from zlib unavailability. For example, I don't think compressed DWARF works on Windows.
> 
> On Tue, Sep 16, 2014 at 3:21 PM, Filip Pizlo <fpizlo at apple.com <mailto:fpizlo at apple.com>> wrote:
> What is the downside of Zlib dependency?  I'm curious! :-)
> 
> -Filip
> 
> On Sep 16, 2014, at 2:45 PM, Christophe Duvernois <christophe.duvernois at gmail.com <mailto:christophe.duvernois at gmail.com>> wrote:
> 
>> Hi
>> 
>> Miniz (https://code.google.com/p/miniz/ <https://code.google.com/p/miniz/> ) is very small and performant implementation of zlib compression with api compatibility and it is public domain...
>> Miniz can be integrated directly into the llvm source code.
>> So it could be a good replacement or alternative to avoid zlib dependency...
>> 
>> If someone is interested i can provide a patch.
>> 
>> Regards
>> Christophe
>> 
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>         http://llvm.cs.uiuc.edu <http://llvm.cs.uiuc.edu/>
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>         http://llvm.cs.uiuc.edu <http://llvm.cs.uiuc.edu/>
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev <http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140916/97aad73d/attachment.html>


More information about the llvm-dev mailing list