[flang-commits] [flang] [flang] Do not create .f18.mod files for each compiled module (PR #85249)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Sun Mar 17 01:07:05 PDT 2024


================
@@ -27,7 +27,9 @@ often use `rm *.mod` to clean up.
 The disadvantage of using the same name as other compilers is that it is not
 clear which compiler created a `.mod` file and files from multiple compilers
 cannot be in the same directory. This could be solved by adding something
-between the module name and extension, e.g. `<modulename>-f18.mod`.
+between the module name and extension, e.g. `<modulename>-f18.mod`.  If this
+needed, Flang's fc1 accepts the option `-module-suffix` to alter the suffix
+used for the module file on disk.
----------------
mjklemm wrote:

Agreed.  Removed.

https://github.com/llvm/llvm-project/pull/85249


More information about the flang-commits mailing list