Page MenuHomePhabricator

[flang] Build intrinsic .mod files in include/flang
ClosedPublic

Authored by tskeith on Mar 12 2021, 9:32 AM.

Details

Summary

The build was putting .mod files for intrinsic modules in
tools/flang/include/flang but the install puts them in include/flang,
as does the out-of-tree build. This confused things for the driver.
This change makes the build consistent with the install and simplifies
the flang script accordingly.

Also, clean up the cmake commands for building the .mod files.

Diff Detail

Event Timeline

tskeith created this revision.Mar 12 2021, 9:32 AM
tskeith requested review of this revision.Mar 12 2021, 9:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 12 2021, 9:32 AM
klausler accepted this revision.Mar 12 2021, 9:37 AM
This revision is now accepted and ready to land.Mar 12 2021, 9:37 AM
schweitz accepted this revision.Mar 12 2021, 10:32 AM
awarzynski accepted this revision.Mar 15 2021, 4:05 AM

Thank you, this simplifies a lot things!

This revision was automatically updated to reflect the committed changes.