[llvm] [flang][CMake] Add missing dependency to generate Fortran module files (PR #91517)

Kiran Chandramohan via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 12:00:28 PDT 2024


================
@@ -432,7 +432,7 @@ if(runtimes)
       # TODO: This is a workaround until flang becomes a first-class project
       # in llvm/CMakeList.txt.  Until then, this line ensures that flang-new is
       # built before "openmp" is built as a runtime project.
-      list(APPEND extra_deps "flang-new")
+      list(APPEND extra_deps "flang-new" "module_files")
----------------
kiranchandramohan wrote:

Could you add a comment on why the `module_files` is required here?

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


More information about the llvm-commits mailing list