CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
39 lines
1.7 KiB
Markdown
39 lines
1.7 KiB
Markdown
## clangd
|
|
|
|
clangd is a language server, and provides C++ IDE features to editors.
|
|
This is not its documentation.
|
|
|
|
- the **website** is https://clangd.llvm.org/.
|
|
- the **bug tracker** is https://github.com/clangd/clangd/issues
|
|
- the **source code** is hosted at https://github.com/llvm/llvm-project/tree/main/clang-tools-extra/clangd.
|
|
- the **website source code** is at https://github.com/llvm/clangd-www/
|
|
|
|
### Communication channels
|
|
|
|
If you have any questions or feedback, you can reach community and developers
|
|
through one of these channels:
|
|
|
|
- chat: #clangd room hosted on [LLVM's Discord
|
|
channel](https://discord.gg/xS7Z362).
|
|
- user questions and feature requests can be asked in the clangd topic on [LLVM
|
|
Discussion Forums](https://llvm.discourse.group/c/llvm-project/clangd/34)
|
|
|
|
### Building and testing clangd
|
|
|
|
For a minimal setup on building clangd:
|
|
- Clone the LLVM repo to `$LLVM_ROOT`.
|
|
- 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"`.
|
|
|
|
- We suggest building in `Release` mode as building DEBUG binaries requires
|
|
considerably more resources. You can check
|
|
[Building LLVM with CMake documentation](https://llvm.org/docs/CMake.html)
|
|
for more details about cmake flags.
|
|
- In addition to that using `Ninja` as a generator rather than default `make`
|
|
is preferred. To do that consider passing `-G Ninja` to cmake invocation.
|
|
- Finally, you can turn on assertions via `-DLLVM_ENABLE_ASSERTS=On`.
|
|
|
|
- Afterwards you can build clangd with `cmake --build $LLVM_ROOT/build --target
|
|
clangd`, similarly run tests by changing target to `check-clangd`.
|