FileCheck is required for OpenMP tests. The current detection can fail
if building OpenMP in-tree when user sets LLVM_INSTALL_TOOLCHAIN_ONLY=ON. As a
result, CMake will raise an error and the compilation will be broken. This patch
fixed the issue. When FileCheck is not a target, tests will just be skipped.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think filecheck is sometimes installed from a distribution instead of using the one from llvm, but am not totally sure that's a use case worth supporting.
Comment Actions
Actually it's not worth supporting because some features might not be supported by the old version from distribution. I did experience the issue once. :-(