Proper way to build LLVM+Clang

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Proper way to build LLVM+Clang

David Chisnall via cfe-dev
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
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Proper way to build LLVM+Clang

David Chisnall via cfe-dev

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 <[hidden email]> 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
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Proper way to build LLVM+Clang

David Chisnall via cfe-dev
Thank you!

On Fri, Jul 3, 2020 at 9:09 AM Whisperity via cfe-dev <[hidden email]> wrote:

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 <[hidden email]> 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
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev