OSDN Git Service

[CMake] Copy C++ headers before configuring runtimes build
authorChris Bieneman <chris.bieneman@me.com>
Thu, 23 May 2019 17:06:46 +0000 (17:06 +0000)
committerChris Bieneman <chris.bieneman@me.com>
Thu, 23 May 2019 17:06:46 +0000 (17:06 +0000)
commit4e25386d6cdd6de9ccab35ddddbf1d6edb923f16
tree8b978bbf9a5d3a417f0124f351a4e51b0ecd13a0
parentb1cc82a2499e822690c89bfd9886d9ceaae16508
[CMake] Copy C++ headers before configuring runtimes build

Summary: On some platforms C++ headers are packaged with the compiler not the sysroot. If you don't copy C++ headers into the build include directory during configuraiton of the outer build the C++ check during the runtime configuration may get inaccurate results.

Reviewers: phosek, compnerd, smeenai, EricWF

Reviewed By: compnerd

Subscribers: EricWF, christof, libcxx-commits, mgorny, llvm-commits

Tags: #llvm, #libc

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361513 91177308-0d34-0410-b5e6-96231b3b80d8
runtimes/CMakeLists.txt