LLVM/Clang 3.7 Debian package build size

Faheem Mitha faheem at faheem.info
Wed Oct 28 10:59:21 UTC 2015


Hi Sylvestre,

Thanks for the fast response.

On Wed, 28 Oct 2015, Sylvestre Ledru wrote:

> 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.

Ok. Maybe I'll try that. I have a vague memory of trying upstream's debs 
and running into problems. But I can try again.

>> 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.

Ok, no problem. Thanks for letting me know the size.

                               Regards, Faheem Mitha


More information about the Pkg-llvm-team mailing list