[circt-verilog-lsp-server] No `llvm::StdThreadPool` if LLVM_ENABLE_THREADS is not defined
@Scheremo is already working on this.
Since Oct 31, 2025.
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 524
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
```
In file included from /workspace/circt/lib/Tools/circt-verilog-lsp-server/LSPServer.cpp:10:
/workspace/circt/lib/Tools/circt-verilog-lsp-server/Utils/PendingChanges.h:107:9: error: no type named 'StdThreadPool' in namespace 'llvm'
107 | llvm::StdThreadPool pool;
```
looking at LLVM's `ThreadPool.h`:
```
#if LLVM_ENABLE_THREADS
/// A ThreadPool implementation using std::threads.
///
/// The pool keeps a vector of threads alive, waiting on a condition variable
/// for some work to become available.
class LLVM_ABI StdThreadPool : public ThreadPoolInterface {
```
So the build fails with `-DLLVM_ENABLE_THREADS=OFF`.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.