================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to