[clang-tools-extra] [llvm] clangd: Add a build option to disable building dexp (PR #133124)

Yoann Congal via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 26 14:44:06 PDT 2025


================
@@ -15,6 +15,7 @@ config.llvm_shlib_dir = "@SHLIBDIR@"
 config.clangd_source_dir = "@CMAKE_CURRENT_SOURCE_DIR@/.."
 config.clangd_binary_dir = "@CMAKE_CURRENT_BINARY_DIR@/.."
 config.clangd_build_xpc = @CLANGD_BUILD_XPC@
+config.clangd_build_dexp = @CLANGD_BUILD_DEXP@
----------------
ycongal-smile wrote:

This causes:
```
llvm-lit: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-h94vh-1/llvm-project/github-pull-requests/llvm/utils/lit/lit/TestingConfig.py:156: fatal: unable to parse config file '/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-h94vh-1/llvm-project/github-pull-requests/build/tools/clang/tools/extra/clangd/test/lit.site.cfg.py', traceback: Traceback (most recent call last):
  File "/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-h94vh-1/llvm-project/github-pull-requests/llvm/utils/lit/lit/TestingConfig.py", line 144, in load_from_path
    exec(compile(data, path, "exec"), cfg_globals, None)
  File "/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-h94vh-1/llvm-project/github-pull-requests/build/tools/clang/tools/extra/clangd/test/lit.site.cfg.py", line 31
    config.clangd_build_dexp = 
                               ^
SyntaxError: invalid syntax

FAILED: tools/clang/tools/extra/CMakeFiles/check-clang-tools /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-h94vh-1/llvm-project/github-pull-requests/build/tools/clang/tools/extra/CMakeFiles/check-clang-tools 

```

https://github.com/llvm/llvm-project/pull/133124


More information about the llvm-commits mailing list