<div dir="ltr"><div dir="ltr">To improve speed of building, you may consider the argument <span style="font-family:"Helvetica Neue";font-size:12px">DLLVM_BUILD_TESTS (I have OFF for this argument), </span><span style="font-family:"Helvetica Neue";font-size:12px">DLLVM_TARGETS_TO_BUILD (x86 maybe), </span><span style="font-family:"Helvetica Neue";font-size:12px">DLLVM_ENABLE_PROJECTS - select only projects that you need.</span></div><div dir="ltr"><span style="font-family:"Helvetica Neue";font-size:12px"><br></span></div><div dir="ltr"><span style="font-family:"Helvetica Neue";font-size:12px">Hope that help!</span></div>
<div dir="ltr"><br></div><div dir="ltr">----------------<div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Best regards,</div><div>Thien Tran.</div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 23 Aug 2020 at 22:55, Joerg Sonnenberger via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Aug 23, 2020 at 01:21:30PM -0500, Brian Cain via cfe-dev wrote:<br>
> It's typically a big performance improvement to leverage ccache and to use<br>
> lld as the linker.<br>
<br>
Using ccache will normally not result in any performance improvements<br>
for a one-off build and typically even decrease performance. Whether it<br>
helps for update builds is questionable too.<br>
<br>
Joerg<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>