[flang-commits] [flang] [Flang][runtime] Add dependency to build FortranRuntime after flang-new (PR #99737)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Sun Jul 21 15:54:48 PDT 2024


vzakhari wrote:

Hi Michael, I think it should "work" for the standalone build, except that the library will not have the module linked in.  This is an acceptable workaround for the device build of `FortranRuntime`, as long as we cannot build the new module for the device anyway.  I will be able to check your patch on Monday PST, but I think you can merge it right away to fix the dependency issue for the in-tree builds.

BTW, my guess about failing the flang-runtime-cuda-gcc build was wrong.  I think it did not fail just because `FORTRAN_MODULE_OBJECTS` variable is empty in the standalone build.

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


More information about the flang-commits mailing list