[flang-commits] [flang] [llvm] [flang-rt] Implement iso module in C++ in the runtime (PR #197687)

Joseph Huber via flang-commits flang-commits at lists.llvm.org
Tue May 19 05:27:13 PDT 2026


jhuber6 wrote:

> Isn't it possible to have dependency on flang and the Fortran module in one configuration and do not have it in another? What I am suggesting is to add a CMake option like `FLANG_RT_BUILD_WITHOUT_FLANG`: the configuration step will not use the Fortran module and will not set dependency on flang, if this option is set. Otherwise, we will keep using the real Fortran module built by flang to get the corresponding binary file.
> 
> What am I missing?

Is the suggestion that we have two paths? I don't think it is worth the complexity. I will try to get a comprehensive test working so that we can prove the symbols always match up. I think that will ease a lot of anxiety.

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


More information about the flang-commits mailing list