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

Don Hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 2 11:01:24 PST 2017


hintonda reopened this revision.
hintonda added a comment.
This revision is now accepted and ready to land.

Re-opening.

Cmake sets CC and CXX during config time so users can run configure, or cmake in this case, with the same compiler (see discussion by Brad King here: https://gitlab.kitware.com/cmake/cmake/issues/16356).

Since these are the only environment variables set, we can fix the bots by passing CMAKE_(C|CXX)_COMPILER to add_custom_command.


Repository:
  rL LLVM

https://reviews.llvm.org/D40229





More information about the llvm-commits mailing list