Not all downstream users may want to build all tools shipped with clang. clang-repl for us in particular can sometimes lead to flaky builds when testing a toolchain built with LTO.
This is a WIP patch that demonstrates:
- Allowing clang-repl to be built (by default) as part of check-all. Note that this doesn't remove it as a build target. It just makes it so that it's not built by default.
- Only running tests that require clang-repl via a REQUIRES line.
Apart from name bikeshedding, it's more likely we'll want this ON by default to match current upstream behavior, then downstream users like us can just set this to OFF in our configs.