[llvm-dev] Proposal: Enable BUILD_SHARED_LIBS=ON by default for debug build.
Yin Ma via llvm-dev
llvm-dev at lists.llvm.org
Thu Jan 28 14:34:19 PST 2016
Hello,
I understand shared linked is currently a lot slower than static linked.
However, for debug build, where speed is not required. Shared link has
A lot of advantage.
Static linked clang/llvm on linux is 17G, shared build is only 1.5G. On a
mainstream
linux host machine with 12G memory, only -j1 can be used to finish final
linking step.
With -j8 the linux will link the linking. With 17G footprint, copying from
build folder
to install folder is also very slow. So it is very reasonable to set
BUILD_SHARED_LIBS=ON as default for debug build because it would improve
usability
and performance.
Thanks,
Yin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160128/f1f3d6b4/attachment.html>
More information about the llvm-dev
mailing list