This is an archive of the discontinued LLVM Phabricator instance.

Fix flang out-of-tree with new driver builder.
ClosedPublic

Authored by stevanradakovic on Mar 17 2021, 3:07 AM.

Diff Detail

Event Timeline

stevanradakovic requested review of this revision.Mar 17 2021, 3:07 AM
rovka accepted this revision.Mar 17 2021, 3:10 AM

LGTM, thanks!

This revision is now accepted and ready to land.Mar 17 2021, 3:10 AM
This revision was automatically updated to reflect the committed changes.

Note that the new Flang driver introduces a dependency on Clang. I think that this is currently missing in the definition of getFlangOutOfTreeBuildFactory. To be more specific:

  • FLANG_BUILD_NEW_DRIVER=On? Need to build Clang and point the out-of-tree part of the build to Clang installation dir (on top of LLVM and MLIR)

A bit more info here. Please let me know if I can help in any way!