When we have hidden/metadata files (for example .svn dirs) under the test dirs, cmake creates a bloated Makefile with tons of fake check-.* targets which increases build time.
Diff Detail
Event Timeline
cmake/modules/AddLLVM.cmake | ||
---|---|---|
1216 | Any reason not to just use literal ${lit_suite} MATCHES "^[.]" in if? The Inputs/Output check could be made nicer too, I guess; but only if you want to play with them. I'm pretty sure the current version would match Inputs somewhere in path or filename. |
cmake/modules/AddLLVM.cmake | ||
---|---|---|
1219 | Why the second slash? If you're trying to escape the ., then it shouldn't be necessary since it's in []. With the first one, I think you use \\ for the literal backwards slash but please test how CMake handles it. |
Any reason not to just use literal ${lit_suite} MATCHES "^[.]" in if?
The Inputs/Output check could be made nicer too, I guess; but only if you want to play with them. I'm pretty sure the current version would match Inputs somewhere in path or filename.