[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
Fri Dec 1 18:13:41 PST 2017


hintonda added a comment.

Just wanted to add a note for posterity:

It seems the cmake passes a few variables, e.g., CMAKE_(C|CXX)_COMPILER, when calling execute_process, but not when calling add_custom_command.  Since it's unclear -- to me -- which variables get passed and under what conditions, it's not feasible to replace execute_process with add_custom_command without a fuller understanding of what is and isn't passed.


Repository:
  rL LLVM

https://reviews.llvm.org/D40229





More information about the llvm-commits mailing list