travkin79 wrote:

Hi @chouzz,

> @HighCommander4 Just try to avoid building clangd locally.

I built your branch of llvm / clangd locally. I did the following on a linux 
machine

* do a shallow clone `git clone -b support-symbolTags --depth 1 
g...@github.com:chouzz/llvm-project.git`
* prepare the build for Eclipse IDE and an install path 
`/usr/local/clangd-test/bin` (I did use this path to keep the original 
installed clangd version unchanged) `cmake -S llvm -B build -G "Eclipse CDT4 - 
Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" 
-DCMAKE_INSTALL_PREFIX=/usr/local/clangd-test -DCMAKE_BUILD_TYPE=Release`
* build with `cmake --build build --target clangd`
* optionally run the tests (I skipped that) `cmake --build build --target 
check-clangd`
* optionally install `cmake --build build --target install`

I must admit, it takes some time to clone and especially to build the project.

https://github.com/llvm/llvm-project/pull/113669
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to