[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 19 18:57:27 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 ()
----------------
h-vetinari wrote:
It would be nice to be able to build `flang-rt` based on an existing, already-installed `flang`. I'm not talking about gratuitous version-divergence here (in practice it's for the same version or commit anyway), but it would help on a couple of fronts:
* this would make it easier to build out the runtime for cross-compilation purposes
* building flang is always close to timing out the 6h limit of the azure pipelines agents, so any split into pieces would be welcome
https://github.com/llvm/llvm-project/pull/110217
More information about the llvm-branch-commits
mailing list