Rob Sayre via llvm-dev
2021-Apr-29 22:48 UTC
[llvm-dev] Official builds without libxml2 and libtinfo?
Hi, Apologies if this is an old topic. I've been trying to get reproducible builds working without depending on any system libraries. I'd like to use official llvm builds for this purpose, but they seem to depend on shared libraries for libxml2 and libtinfo.* I believe llvm can be compiled from source without these dependencies. Would it be possible to supply official builds that don't depend on these libraries, even if they have fewer features? Or, is there a way to avoid these dependencies at runtime? thanks, Rob * https://github.com/grafica/build/blob/main/ubuntu_20_04_bazel_with_cc_toolchain/Dockerfile -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210429/d22b0728/attachment.html>
Tobias Hieta via llvm-dev
2021-Apr-30 06:28 UTC
[llvm-dev] Official builds without libxml2 and libtinfo?
Yeah they can easily be disabled with a CMake build. But I don't think it's feasible for release testers to build several different packages of Clang/LLVM. If you want to have your binaries without these dependencies I think you'll need to build it yourself, and while this might seem daunting - it's actually not that bad if you just want a toolchain. Thanks, Tobias On Fri, Apr 30, 2021 at 12:48 AM Rob Sayre via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > Hi, > > Apologies if this is an old topic. I've been trying to get reproducible builds working without depending on any system libraries. I'd like to use official llvm builds for this purpose, but they seem to depend on shared libraries for libxml2 and libtinfo.* > > I believe llvm can be compiled from source without these dependencies. Would it be possible to supply official builds that don't depend on these libraries, even if they have fewer features? Or, is there a way to avoid these dependencies at runtime? > > thanks, > Rob > > * https://github.com/grafica/build/blob/main/ubuntu_20_04_bazel_with_cc_toolchain/Dockerfile > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev