[PATCH] D108390: [flang] Refine output file generation

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 20 03:23:02 PDT 2021


DavidSpickett added a comment.

Something I found on windows on Arm is that cmake was trying to run every try_compile or try_run in debug mode but we didn't have the debug dlls on the path because we were doing a release llvm build. llvm uses a try_run to work out what those generic file errors should be, and it always fails for that reason and so uses the default unix style errors.

Might be worth looking at. You can set `-DCMAKE_TRY_COMPILE_CONFIGURATION=Release` if that is the case. I found a similar cmake issue https://gitlab.kitware.com/cmake/cmake/-/issues/16553 but haven't looked into it further yet.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108390



More information about the llvm-commits mailing list