This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix standalone builds
ClosedPublic

Authored by awarzynski on Mar 4 2022, 3:40 AM.

Details

Summary

In dd875dd88bf7f39ad56d8402bdc49ffeb51b4ab8 I added a missing MLIR
dependency in Flang. However, that particular CMake target is not
exported as something available to standalone builds. In this patch is
switch to MLIRIR instead, which depends on
MLIRBuiltinAttributeInterfacesIncGen - the missing dependency added
previously.

Diff Detail

Event Timeline

awarzynski created this revision.Mar 4 2022, 3:40 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 4 2022, 3:40 AM
awarzynski requested review of this revision.Mar 4 2022, 3:40 AM
DavidSpickett accepted this revision.Mar 4 2022, 4:00 AM

LGTM if the standalone build is working. Also tested with sharedlibs and is fine.

This revision is now accepted and ready to land.Mar 4 2022, 4:00 AM

LGTM if the standalone build is working. Also tested with sharedlibs and is fine.

I tested standalone builds locally and that worked fine too. Thanks for reviewing and testing 👍🏻 !

This revision was automatically updated to reflect the committed changes.