LLVM/Clang 3.7 Debian package build size
Sylvestre Ledru
sylvestre at debian.org
Wed Oct 28 09:48:00 UTC 2015
Hello,
Le 28/10/2015 10:36, Faheem Mitha a écrit :
>
> Hi,
>
> I just tried backporting LLVM/Clang 3.7 from Debian unstable to
> stable/jessie. The build ran out of space after consuming
> approximately 32 GB.
>
http://llvm.org/apt/
This is provided here.
> faheem at orwell:/usr/local/src/clang-3.7/llvm-toolchain-3.7-3.7$ du -hs
> 32G
>
> I asked on #llvm on OFTC, and was told the build size should not
> exceed 17 GB or so. See the conversation below.
>
> Can anyone tell me how much space is needed, and if there is some way
> to reduce the build size and/or time?
You need about 38G to build llvm Debian/Ubuntu package.
Here is why:
* the sources (not much)
* the build in build-llvm/
* the install of llvm in debian/tmp/
* the files moved in the various directory to generate the packages
(example: debian/clang-3.8/)
Yes, that means that the files are duplicated 3 times...
I am not planning to work on that because:
* disk space is cheap
* When debugging the packaging, having all the steps help.
Cheers,
Sylvestre
More information about the Pkg-llvm-team
mailing list