[CMake] Make the runtimes directory work with bootstrap builds
authorChris Bieneman <beanz@apple.com>
Wed, 19 Oct 2016 21:50:25 +0000 (21:50 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 19 Oct 2016 21:50:25 +0000 (21:50 +0000)
commit4646fe0ac9b139d074ceb66156fa37b649b31f86
tree017afd1a80d47760c421cb5f9a4559cf44e27b1a
parentefd88857724df8e865fcf6a28103b230971db9de
[CMake] Make the runtimes directory work with bootstrap builds

This patch builds on clang r284648, and allows the runtime directory to make the bootstrap builds depend on the builtin libraries.

This patch also make the bootstrap build depend on configuring the other runtimes because the libcxx headers are copied during configuration. I have left a TODO in the code to remove that once I come up with a better solution.

llvm-svn: 284650
llvm/runtimes/CMakeLists.txt