[PATCH] D91186: [clangd] Add documentation for building and testing clangd
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 20 02:34:47 PST 2020
kadircet added inline comments.
================
Comment at: clang-tools-extra/clangd/README.md:26
+- Create a build directory, for example at `$LLVM_ROOT/build`.
+- Inside the build directory run: `cmake $LLVM_ROOT/llvm/
+ -DCMAKE_BUILD_TYPE=RELEASE -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra"`.
----------------
sammccall wrote:
> 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...
i wanted to keep it to a bare minimum, hence no mentions of ninja and asserts. i am adding a paragraph below to suggest adding those.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91186/new/
https://reviews.llvm.org/D91186
More information about the cfe-commits
mailing list