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

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Sun Mar 24 16:12:56 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
----------------
kiranchandramohan wrote:

```suggestion
is needed, Flang's fc1 accepts the option `-module-suffix` to alter the suffix
```

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


More information about the flang-commits mailing list