[PATCH] D64032: [cmake] With utils disabled, don't build tblgen in cross mode

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 12:27:12 PDT 2019


beanz added a comment.

You'd need to make the NATIVE target depend on all the source files and headers that the the target depends on, which is theoretically possible, although I'm not sure of a clean way to do it in CMake.

If your target toolchain doesn't support executables you can always feed in a pre-built tablegen, which will skip all of this, and skip building one, but then it is on you to ensure that your tablegen is getting rebuilt properly.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64032/new/

https://reviews.llvm.org/D64032





More information about the llvm-commits mailing list