Address fixme in r301762. And would simplify the cmake file in
clang-tools-extra.
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 23291 Build 23290: arc lint + arc unit
Event Timeline
inlining this into three add_dependencies calls would remove the if (TARGET) conditions. Are those dependencies conditionally built?
Yeah, I believe these targets are built conditionally, see https://reviews.llvm.org/D29851.
I would like to request reverting this. It's established standard within LLVM to explicitly specify the dependencies the particular test suite relies on.
This change causes the -DLLVM_OCAML_OUT_OF_TREE=1 to start wrongly depending on additional test utility targets, causing building an unnecessary second copy of LLVMSupport.
Hi @mgorny, sorry for the trouble it might cause.
I'm not an expert on this. It seems to me that FileCheck, count, not are reasonable dependencies to lit tests, and from what I se, lit tests of llvm, clang and clang-tools-extra are using these dep tools.
+ @chapuni, maybe you have ideas here? since you are the original author of the code r301762.