This is an archive of the discontinued LLVM Phabricator instance.

[flang][driver] Make driver accept `-module-dir<value>`
ClosedPublic

Authored by awarzynski on May 19 2022, 2:40 AM.

Details

Summary

-module-dir is Flang's equivalent for -J from GFortran (in fact,
-J is an alias for -module-dir in Flang). Currently, only
-module-dir <value> is accepted. However, -J (and other options for
specifying various paths) accepts -J <value> as well as -J<value>.
This patch makes sure that -module-dir behaves consistently with other
such flags.

Diff Detail

Event Timeline

awarzynski created this revision.May 19 2022, 2:40 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
awarzynski requested review of this revision.May 19 2022, 2:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2022, 2:40 AM
rovka accepted this revision.May 19 2022, 2:53 AM

Seems legit, thank you!

This revision is now accepted and ready to land.May 19 2022, 2:53 AM