<div dir="ltr">That's a reasonably well resourced machine, though the last couple of years I've been spec'ing quad core (plus HT) machines with 32 GB rather than 16 GB, and you've got 50% more cores.<div><br></div><div>Still that should be plenty for 12 compiler instances. I suspect the problem is something else, such as link steps.</div><div><br></div><div>I haven't looked at the actual ninja rules, but you can specify a smaller "-j" setting for particular kinds of build steps. See:</div><div><br></div><div><a href="https://ninja-build.org/manual.html#ref_pool">https://ninja-build.org/manual.html#ref_pool</a><br></div><div><br></div><div>I have no idea whether the llvm ninja rules currently include something like that.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 9:54 AM, Wink Saville via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've got a i7 with 12 logical cores and 16GB of RAM I successfully<br>
built RELEASE_390/final but for the last 100 or so files I'd to use<br>
"ninja -j2" so as not to keep from swapping in the best case and and<br>
in the worst case the build kills itself without completing because<br>
apparently its run out of memory.<br>
<br>
For the first 3200 files or so it was doing just fine with "ninja"<br>
which is probably "ninja -j12" but as I said for the last 100 or so<br>
files I had to use "ninja -j2" to get it to complete.<br>
<br>
So what is the recommended computer resources, and I guess RAM size in<br>
particular, for building llvm "quickly"?<br>
<br>
-- wink<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>