The flang/tools/f18/flang script sets the module suffix to
.f18.mod. With this change:
- .f18.mod becomes the default suffix for module files in Flang
- we no longer require a bash wrapper script for the old driver
awarzynski on Apr 28 2021, 7:31 AM.Authored by
From offline discussions (Slack & a community call): the flang script is needed when calling an external compiler specified via F18_FC. It makes sure that there's no clash between module files generated by Flang and the compiler specified with F18_FC.
Thank you for your comment. I wasn't sure what the rationale behind flang/tools/f18/flang and -module-suffix .f18.mod was. This is now clear and I see why we should keep .mod. I've already abandoned this.