[cfe-dev] Building clang
Thien Tran via cfe-dev
cfe-dev at lists.llvm.org
Mon Aug 24 21:37:35 PDT 2020
To improve speed of building, you may consider the argument DLLVM_BUILD_TESTS
(I have OFF for this argument), DLLVM_TARGETS_TO_BUILD (x86 maybe),
DLLVM_ENABLE_PROJECTS
- select only projects that you need.
Hope that help!
----------------
Best regards,
Thien Tran.
On Sun, 23 Aug 2020 at 22:55, Joerg Sonnenberger via cfe-dev <
cfe-dev at lists.llvm.org> wrote:
> On Sun, Aug 23, 2020 at 01:21:30PM -0500, Brian Cain via cfe-dev wrote:
> > It's typically a big performance improvement to leverage ccache and to
> use
> > lld as the linker.
>
> Using ccache will normally not result in any performance improvements
> for a one-off build and typically even decrease performance. Whether it
> helps for update builds is questionable too.
>
> Joerg
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200825/1e5d15cd/attachment.html>
More information about the cfe-dev
mailing list