[runtimes] Use a response file for runtimes test suites
authorPetr Hosek <phosek@google.com>
Thu, 18 Aug 2022 08:25:13 +0000 (08:25 +0000)
committerPetr Hosek <phosek@google.com>
Wed, 12 Oct 2022 08:01:19 +0000 (08:01 +0000)
commit2a66abb17ed373d08a2193a9f24820b07b459965
tree603e31567c3a64dd01e516531baf17ac6f2e5ca8
parenta4ace22c05c423194da79e68b0852496fb9ff11e
[runtimes] Use a response file for runtimes test suites

We don't know which test suites are going to be included by runtimes
builds so we cannot include those before running the sub-build, but
that's not possible during the LLVM build configuration. We instead use
a response file that's populated by the runtimes build as a level of
indirection.

This addresses the issue described in:
https://discourse.llvm.org/t/cmake-regeneration-is-broken/62788

Differential Revision: https://reviews.llvm.org/D132438
llvm/runtimes/CMakeLists.txt
runtimes/CMakeLists.txt
runtimes/Tests.cmake.in [deleted file]