[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 14:44:31 PDT 2019


beanz added a comment.

I don't know of any way to emulate that because it isn't something CMake exports or even knows about. It is something the underlying build system detects from the compiler's depfiles. One thought that might work would be to generate an object library target containing the tool source files, and instead depend on the object library and all the target static archives. I think that would get the ordering right and would not require the link step to run.


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