[cfe-dev] Proper way to build LLVM+Clang

Whisperity via cfe-dev cfe-dev at lists.llvm.org
Fri Jul 3 09:09:30 PDT 2020


https://llvm.org/docs/GettingStarted.html#getting-the-source-code-and-building-llvm

You'll need to specify to CMake -DLLVM_ENABLE_PROJECTS a list of
subprojects (the top-level directories) to build. E.g. to only build Clang,
say -DLLVM_ENABLE_PROJECTS=clang, to also build Clang-Tools-Extra (i.e.
Clang-Query and Clang-Tidy),
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra".

Everything else remained the same in the workflow.


Aditya Atluri via cfe-dev <cfe-dev at lists.llvm.org> ezt írta (időpont: 2020.
júl. 3., P, 18:04):

> Hi,
> I couldn't find a decent guide to build llvm+clang and all the other
> projects after moving to llvm-project. I am checking with you to know how
> you are building llvm+clang+projects
>
> Thank you!
> _______________________________________________
> 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/20200703/2a82ace6/attachment-0001.html>


More information about the cfe-dev mailing list