Adds minimal cmake configuration required to build and test clangd,
while telling target names. Should be helpful for people unfamiliar with the
LLVM repo.
See https://github.com/clangd/clangd/issues/579 for a request.
Differential D91186
[clangd] Add documentation for building and testing clangd kadircet on Nov 10 2020, 10:22 AM. Authored by
Details Adds minimal cmake configuration required to build and test clangd, See https://github.com/clangd/clangd/issues/579 for a request.
Diff Detail
Event Timeline
Comment Actions
Comment Actions I wonder, should these instructions be in an easier-to-find place, such as the clangd repo's own README (https://github.com/clangd/clangd/blob/master/README.md), or even a section of the clangd website (clangd.llvm.org)? I wanted to send build instructions to someone who was asking for them, and it took me a while to find this (had to come back and find this review request to see what page was ultimately edited here). |
this will work, though won't it use make by default with no parallelism?
If we're recommending more flags, i'd suggest -DLLVM_ENABLE_ASSERTS=On, and -G Ninja...