[llvm-dev] Recommended computer resources to build llvm

Wink Saville via llvm-dev
Tue, 06 Sep 2016 22:49:07 -0000

@djones, I'm not specifying debug just going with the default, is that
debug or release? How do I specify it?

On Tue, Sep 6, 2016 at 3:35 PM, David Jones <djones at xtreme-eda.com>
wrote:
> Are you building with debug symbols?
>
> If so, then be aware that linking libLLVM and libLLDB will require 3-5GB of
> memory, just for the link step.
>
> On my 8GB machine, I cannot use -j2 to compile LLVM with debug symbols, as
I
> will page to death during linking.
>
> On Tue, Sep 6, 2016 at 5:54 PM, Wink Saville via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>>
>> I've got a i7 with 12 logical cores and 16GB of RAM I successfully
>> built RELEASE_390/final but for the last 100 or so files I'd to use
>> "ninja -j2" so as not to keep from swapping in the best case
and and
>> in the worst case the build kills itself without completing because
>> apparently its run out of memory.
>>
>> For the first 3200 files or so it was doing just fine with
"ninja"
>> which is probably "ninja -j12" but as I said for the last 100
or so
>> files I had to use "ninja -j2" to get it to complete.
>>
>> So what is the recommended computer resources, and I guess RAM size in
>> particular, for building llvm "quickly"?
>>
>> -- wink
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>