[PATCH] D41580: CMAKE: Add flags to skip building NATIVE tools
Martell Malone via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 23 19:57:28 PDT 2018
martell abandoned this revision.
martell added inline comments.
================
Comment at: tools/llvm-config/CMakeLists.txt:67
-if(CMAKE_CROSSCOMPILING)
+if(CMAKE_CROSSCOMPILING AND NOT HAVE_NATIVE_LLVM_CONFIG)
set(${project}_LLVM_CONFIG_EXE "${LLVM_NATIVE_BUILD}/bin/llvm-config")
----------------
hintonda wrote:
> Instead of a new flag, can't you just add `AND NOT DEFINED ${project}_LLVM_CONFIG_EXE`?
This seems better handled in D41580
Repository:
rL LLVM
https://reviews.llvm.org/D41580
More information about the llvm-commits
mailing list