Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
clang/cmake/modules/AddGRPC.cmake | ||
---|---|---|
7 | Hi @sylvestre.ledru this seem to have broken clangd bots (also doesn't work for local dev environment anymore) https://lab.llvm.org/buildbot/#/builders/131/builds/38935 (buildbot was broken before that for a different reason). I believe the issue is because you're looking for gpr/grpc only in the absence of target grpc++, but in other setups, e.g. the one used by buildbot and the only one supported in theory, that uses grpc build from sources. You can find a repro setup in details here https://github.com/clangd/clangd/blob/master/.github/workflows/autobuild.yaml#L206. Required configuration for LLVM looks like: I'll revert to unblock development (and to be able to investigate the other issue on the build bot). |
Hi @sylvestre.ledru this seem to have broken clangd bots (also doesn't work for local dev environment anymore) https://lab.llvm.org/buildbot/#/builders/131/builds/38935 (buildbot was broken before that for a different reason).
I believe the issue is because you're looking for gpr/grpc only in the absence of target grpc++, but in other setups, e.g. the one used by buildbot and the only one supported in theory, that uses grpc build from sources. You can find a repro setup in details here https://github.com/clangd/clangd/blob/master/.github/workflows/autobuild.yaml#L206. Required configuration for LLVM looks like:
cmake -G Ninja ../llvm/ -DCMAKE_BUILD_TYPE=RELEASE -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DCLANGD_ENABLE_REMOTE=1 -DGRPC_INSTALL_PATH=$HOME/.local (assuming you run grpc installation to $HOME/.local).
I'll revert to unblock development (and to be able to investigate the other issue on the build bot).