[libcxx-commits] [libcxx] [llvm] [libc++] Optionally support filecheck-based tests (PR #165769)

Aiden Grossman via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 3 06:09:12 PST 2025


boomanaiden154 wrote:

Another option: We could do what compiler-rt does and only use FileCheck when doing a bootstrapping build (`LLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="libcxx" ../llvm`). That solves two problems:
1. We can get `FileCheck` from the LLVM build.
2. We ensure the tooling that we're testing with these tests (the compiler/diagnostic tooling) is versioned atomically with libc++ which I think would remove some churn.

That might make it harder for some platforms to run these specific tests. I would imagine that just checking diagnostics/codegen is something where we do not care too much about running everywhere because we're more of testing the hosted tools, but not sure what the exact intentions are.

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


More information about the libcxx-commits mailing list