For LLVM development, we want a mode that builds everything; this is what the buildbots that say "all targets" should be testing. (All code in tree should build and pass its tests, even if it's an experimental target.) However, LLVM_TARGETS_TO_BUILD=all currently (surprisingly) only builds non-experimental targets. (Additional targets can be specified via LLVM_EXPERIMENTAL_TARGETS_TO_BUILD, which confusingly is just a list of more targets to build in addition to those in LLVM_TARGETS_TO_BUILD.)
This patch addresses this as follows:
- LLVM_TARGETS_TO_BUILD=all builds all targets
- A new value, LLVM_TARGETS_TO_BUILD=stable, builds only non-experimental targets
- The default for LLVM_TARGETS_TO_BUILD is changed from all to stable.
I've left LLVM_EXPERIMENTAL_TARGETS_TO_BUILD alone for now. I think it'd make more sense to be able to specify something like LLVM_TARGETS_TO_BUILD=stable;WebAssembly to add experimental targets to the stable targets list, but I don't see a reason to couple such a change to this change.