-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[flang] Do not create .f18.mod files for each compiled module #85249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
Thanks.
@kiranchandramohan @banach-space Ping :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would the flang-to-external-fc script (https://flang.llvm.org/docs/FlangDriver.html#the-flang-to-external-fc-script) work without this? The script might not be needed if nobody is using it. If so it might be good to remove that in a separate patch.
Co-authored-by: Kiran Chandramohan <kiranchandramohan@gmail.com>
✅ With the latest revision this PR passed the C/C++ code formatter. |
✅ With the latest revision this PR passed the Python code formatter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, thanks!
Would the flang-to-external-fc script (https://flang.llvm.org/docs/FlangDriver.html#the-flang-to-external-fc-script) work without this? The script might not be needed if nobody is using it. If so it might be good to remove that in a separate patch.
+1 to removing it, but it would be good to ask on Discourse first
It seems like the `flang-to-external-fc` tool is no longer needed, because Flang is now a full compiler in its own right. After PR #85249 has landed, this tool will not be able to pick up the `.f18.mod` files.
It seems like the `flang-to-external-fc` tool is no longer needed, because Flang is now a full compiler in its own right. After PR llvm#85249 has landed, this tool will not be able to pick up the `.f18.mod` files.
The default CMake scripts had a copy operation to copy a compiled
.mod
file to also be available with suffix.f18.mod
. This seems no longer needed. Also updated ModFiles.md to point to-module-suffix
.