[PATCH] D12679: [CMake] Flag recursive cmake invocations for cross-compile

Joseph Tremoulet via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 10:33:30 PDT 2015


JosephTremoulet added a comment.

> Since you're trying to work around a problem in LLILC, maybe it would make more sense to have LLILC not generate its build files in the host build. You could have LLILC disable itself by default unless the required variables are passed.


I thought about that, but I couldn't find a way to generate a reasonable error message for the case that a user forgets to pass the required variable to their LLILC cmake invocation -- that would look the same from the perspective of LLILC's cmakefiles as the recursive invocation here which needs to quietly skip generating LLILC build files.


http://reviews.llvm.org/D12679





More information about the llvm-commits mailing list