[PATCH] D40229: [cmake] Remove redundant call to cmake when building host tools.

Justin Bogner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 15:52:17 PST 2017


bogner added a comment.

In https://reviews.llvm.org/D40229#947389, @bogner wrote:

> I'm getting a similar problem where passing in CMAKE_CXX_COMPILER breaks my native build, except it's harder to work around because I don't specify CROSS_TOOLCHAIN_FLAGS. I'm building for a device, and specify a C++ compiler for that build, but that compiler isn't the correct one for building my native tools. When no compiler was specified on the cross-compile-native cmake invocation, this worked, but now this ends up using the wrong compiler and failing.


Actually, ignore this for now. This isn't exactly what's going wrong and I need to look at it a bit more.


Repository:
  rL LLVM

https://reviews.llvm.org/D40229





More information about the llvm-commits mailing list