[PATCH] D98861: [CMAKE] Fix cross-compilation build
Markus Böck via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 18 11:07:56 PDT 2021
zero9178 added a comment.
After taking a further look, I think part of the problem is that in the CMakeLists.txt of llvm, get_errc_messages get run unconditionally. I assume there are many users out there who want to cross compile, not want to set such variables and are also not interested in running tests. Maybe you could move that invocation into a block guarded by LLVM_INCLUDE_TESTS? That'd be all from me unless anyone else has any inquiries.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98861/new/
https://reviews.llvm.org/D98861
More information about the llvm-commits
mailing list