[flang-commits] [flang] [flang][runtime] Build ISO_FORTRAN_ENV to export kind arrays as linkable symbols (PR #95388)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Fri Jul 19 15:36:39 PDT 2024
================
@@ -169,6 +169,7 @@ set(sources
unit-map.cpp
unit.cpp
utf.cpp
+ ${FORTRAN_MODULE_OBJECTS}
----------------
vzakhari wrote:
This breaks some of my builds. I believe this won't work in general unless you make sure that the object file is built before `FortranRuntime` target tries to build, i.e. there has to be a target dependency in this CMake file.
I think you can try to reproduce it by deleting the module object file and running `make FortranRuntime` - it will fail with something like:
```
No rule to make target `tools/flang/tools/f18/iso_fortran_env_impl.o', needed by `lib/libFortranRuntime.a'. Stop.
```
https://github.com/llvm/llvm-project/pull/95388
More information about the flang-commits
mailing list