3 ms·
LLVM is both a library and a collection of many tools building on that library. Static linking means that almost all of the library code is linked into all of t
by atq2119 6y ago
LLVM is both a library and a collection of many tools building on that library. Static linking means that almost all of the library code is linked into all of those tools.
That's extremely wasteful, especially for debug builds.
Luckily, shared library builds of LLVM are easy. And gp might want to invest in a Threadripper. It's possible to compile all of LLVM in a few minutes nowadays :)
- schlupa 6y agoI do not choose the hardware (big bureaucratic organization). I will try the LLVM_LINK_LLVM_DYLIB and LLVM_BUILD_LLVM_DYLIB options next time. By default it builds static binaries and libraries requiring gigabytes of disk space.