summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJoseph Tremoulet <jotrem@microsoft.com>2015-09-09 14:57:06 +0000
committerJoseph Tremoulet <jotrem@microsoft.com>2015-09-09 14:57:06 +0000
commite5e75afe8fd468763fae1552f7d853cb9acb4519 (patch)
tree0fec2d7a6ce9e5dc5f58dd8da17ad1c5d84783e9 /llvm/lib/Transforms
parente2834418368587a27f02fb7bd4c2ab7e9cba98ae (diff)
downloadbcm5719-llvm-e5e75afe8fd468763fae1552f7d853cb9acb4519.tar.gz
bcm5719-llvm-e5e75afe8fd468763fae1552f7d853cb9acb4519.zip
[CMake] Flag recursive cmake invocations for cross-compile
Summary: Cross-compilation uses recursive cmake invocations to build native host tools. These recursive invocations only forward a fixed set of variables/options, since the native environment is generally the default. This change adds -DLLVM_TARGET_IS_CROSSCOMPILE_HOST=TRUE to the recursive cmake invocations, so that cmake files can distinguish these recursive invocations from top-level ones, which can explain why expected options are unset. LLILC will use this to avoid trying to generate its build rules in the crosscompile native host target (where it is not needed), which would fail if attempted because LLILC requires a cmake variable passed on the command line, which is not forwarded in the recursive invocation. Reviewers: rnk, beanz Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12679 llvm-svn: 247151
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud