[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
Fri Jul 19 22:35:36 PDT 2024
================
@@ -295,3 +295,9 @@ else()
FortranRuntime.static_dbg FortranRuntime.dynamic_dbg)
endif()
set_target_properties(FortranRuntime PROPERTIES FOLDER "Flang/Runtime Libraries")
+
+# Add dependency to make sure that Fortran runtime library is being built after
+# we have the Flang compiler available. This also includes the MODULE files
+# that compile when the 'flang-new' target is built.
+add_dependencies(FortranRuntime flang-new module_files)
----------------
vzakhari wrote:
It seems just `module_files` should be enough.
https://github.com/llvm/llvm-project/pull/99737
More information about the flang-commits
mailing list