[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)
Joseph Huber via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 19 18:59:43 PST 2024
================
@@ -150,12 +150,18 @@ if ("flang" IN_LIST LLVM_ENABLE_PROJECTS)
endif()
endif()
+if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES)
+ if (NOT "flang" IN_LIST LLVM_ENABLE_PROJECTS)
+ message(FATAL_ERROR "Flang is not enabled, but is required for the Flang-RT runtime")
+ endif ()
+endif ()
----------------
jhuber6 wrote:
Why do we even need `flang`? I don't see any Fortran files, but maybe I'm missing something.
https://github.com/llvm/llvm-project/pull/110217
More information about the llvm-branch-commits
mailing list