[llvm] [LLVM][runtimes] Prepopulate `LLVM_BUILTIN_TARGETS` with runtimes values (PR #95554)

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 01:59:58 PDT 2024


================
@@ -17,7 +17,11 @@ foreach(proj ${LLVM_ENABLE_RUNTIMES})
 endforeach()
 
 function(get_compiler_rt_path path)
-  foreach(entry ${runtimes})
+  set(all_runtimes ${runtimes})
+  foreach(name ${LLVM_RUNTIME_TARGETS})
+    list(APPEND all_runtimes RUNTIMES_${name}_LLVM_ENABLE_RUNTIMES)
+  endforeach()
+  foreach(entry ${all_runtimes})
----------------
petrhosek wrote:

This looks like an unrelated change that could land separately.

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


More information about the llvm-commits mailing list