I’m working on PR #117953 (Issue #106445) to improve Fix-It hints for unused lambda captures, but facing local build issues
cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;lld" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" ../llvm
https://github.com/llvm/llvm-project/pull/117953
ninja check-clang hangs or fails with 800+ test errors, while Buildkite passes and give me handfull of errors.
can someone guide me
When you do a fresh clone of the repository and build from that, do all tests pass for you?
Assuming those all pass for you, then it’s something specific to your changes and you’d likely need to get a debugger involved to help track down what’s gone wrong. But if the tests are failing on a clean checkout, that suggests something specific to your machine, so we’d need to know things like what OS you’re on, what compiler you’re building with, etc.
FWIW, your cmake looks reasonable to me.
Some passed tests also fail.
i’m checking error logs by manually ./bin/llvm-lit -vv \
and trying to work on it. if i do ninja check-clang i get many errors. Also, i’m using MacOs Macbook M1 pro
Homebrew clang version 19.1.7
Target: arm64-apple-darwin24.4.0
Thread model: posix
InstalledDir: /opt/homebrew/Cellar/llvm/19.1.7_1/bin
Configuration file: /opt/homebrew/etc/clang/arm64-apple-darwin24.cfg
cmake version 4.0.1