[CMake] Support cross-compiling with Fuchsia toolchain build
authorPetr Hosek <phosek@chromium.org>
Fri, 16 Nov 2018 04:50:12 +0000 (04:50 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 16 Nov 2018 04:50:12 +0000 (04:50 +0000)
commitd63e84621222c78283451bc3616e4c9d8317802e
treecb70398fc650844a55e06db2ee2ba2295eadd2ab
parentf8e27b3878af18a2ab7c0ea9a1ed54799361ea48
[CMake] Support cross-compiling with Fuchsia toolchain build

When second stage is being cross-compiled for a different platform
we need to build enough of first stage runtimes to get a working
compiler.

Differential Revision: https://reviews.llvm.org/D54463

llvm-svn: 347026
clang/cmake/caches/Fuchsia.cmake