[libc-commits] [libc] [llvm] [libc] Support multilib with runtimes build (PR #115357)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Tue Nov 12 15:08:49 PST 2024


================
@@ -635,6 +635,7 @@ if(build_runtimes)
           CMAKE_ARGS -DLLVM_DEFAULT_TARGET_TRIPLE=${name}
                      -DLLVM_RUNTIMES_PREFIX=${name}/
                      -DLLVM_RUNTIMES_LIBDIR_SUBDIR=${multilib}
+                     ${extra_cmake_args}
----------------
petrhosek wrote:

This is needed to passthrough the hdrgen CMake variables and matches the non-multilib case: https://github.com/llvm/llvm-project/blob/7b5e285d16090c2ddf4ee539c410d24bde52cbea/llvm/runtimes/CMakeLists.txt#L627

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


More information about the libc-commits mailing list