I recently compiled llvm from source since I wanted to look at 8. However, it is a whooping 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
Build using:
cmake3 -G Ninja -DCMAKE_INSTALL_PREFIX=~/llvm -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=1 -DLLVM_ENABLE_PROJECTS="all" ../llvm

clang-8binary (on OpenBSD) is 36.8 MB.CMAKE_BUILD_TYPE:Release?