commit | f5a4b472011fc7d2d047e413db82235b297d2576 | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@chromium.org> | Mon Jan 08 23:50:59 2018 +0000 |
committer | Petr Hosek <phosek@chromium.org> | Mon Jan 08 23:50:59 2018 +0000 |
tree | b3c56aac743b37abbfb40eed74ad570b7bd439f4 | |
parent | 3e1ae868476d7a40791c24f8476407275470c35c [diff] |
[CMake] Support for cross-compilation when build runtimes When cross-compiling, we cannot use the just built toolchain, instead we need to use the host toolchain which we assume has a support for targeting the selected target platform. We also need to pass the path to the native version of llvm-config to external projects. Differential Revision: https://reviews.llvm.org/D41678 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322046 91177308-0d34-0410-b5e6-96231b3b80d8