Skip to main content
cmake command.
Source Link

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

size on disk

Build using:

cmake3 -G Ninja  -DCMAKE_INSTALL_PREFIX=~/llvm -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=1 -DLLVM_ENABLE_PROJECTS="all" ../llvm

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

size on disk

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

size on disk

Build using:

cmake3 -G Ninja  -DCMAKE_INSTALL_PREFIX=~/llvm -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=1 -DLLVM_ENABLE_PROJECTS="all" ../llvm
Re-azdded picture.
Source Link

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

size on disk

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

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

size on disk

Source Link

llvm 8 install size

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