[Openmp-commits] [openmp] [WIP][flang] Compile proper `omp_lib.mod` from the `openmp/src/include` sources (PR #80874)

Michael Klemm via Openmp-commits openmp-commits at lists.llvm.org
Tue Feb 6 13:39:42 PST 2024


mjklemm wrote:

> For Intel Fortran compiler, there would need to be an additional flag during module compilation, -fpp, to enable preprocessing. I think gfortran is OK without the flag (and they use -cpp). I don't know about other Fortran compilers.

The compiler won't need it, if the extension changed from `f90` to `F90`, because then it would automatically invoke the preprocessor on the file.

So, may I assume that Intel is generally fine with the change I'm proposing to make the file compilable with Flang?

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


More information about the Openmp-commits mailing list