I recently compiled llvm from source since I wanted to look at 8. However, it is a whooping
Build using:
cmake3 -G Ninja -DCMAKE_INSTALL_PREFIX=~/llvm -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=1 -DLLVM_ENABLE_PROJECTS="all" ../llvm
56G
in size once installed. That seems excessive.
How can I reduce the size of the installation?
; du -h -d 1 -c .
41M ./include
22G ./lib
35G ./bin
264K ./share
28K ./libexec
56G .
56G total

Asked by Sardathrion - against SE abuse
(4493 rep)
Aug 12, 2019, 09:53 AM
Last activity: Aug 12, 2019, 11:02 AM
Last activity: Aug 12, 2019, 11:02 AM