[llvm] [Fortran] Use INTERFACE targets for options and dependencies (PR #193469)
Tarun Prabhu via llvm-commits
llvm-commits at lists.llvm.org
Thu May 21 08:59:20 PDT 2026
================
@@ -74,14 +81,14 @@ endfunction ()
set(RUNTIMES_ENABLE_FORTRAN OFF)
-# Insert at least one element for
-#
-# add_dependencies(target ${RUNTIMES_FORTRAN_BUILD_DEPS})
-#
-# to not fail
-add_custom_target(fortran-dummy-dep)
-set(RUNTIMES_FORTRAN_BUILD_DEPS fortran-dummy-dep)
-
+# Targets compiling Fortran sources can depend on this target to ensure toolchain
+# prerequisites are built before (runtime library and intrinsic modules).
----------------
tarunprabhu wrote:
nit: I assume that the runtime library and intrinsic modules are the prerequisites
```suggestion
# prerequisites (runtime library and intrinsic modules) are built before.
```
https://github.com/llvm/llvm-project/pull/193469
More information about the llvm-commits
mailing list