[llvm] [CMake] Correctly handle LLVM_ENABLE_RUNTIMES in targets (PR #69869)
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 27 00:32:05 PDT 2023
================
@@ -171,12 +171,20 @@ if(compiler_rt_path)
endif()
endif()
+function(_get_runtime_name name out_var)
+ string(FIND ${name} "lib" idx)
+ if(idx EQUAL 0 AND NOT ${name} STREQUAL "libc")
+ string(SUBSTRING ${name} 3 -1 entry)
----------------
petrhosek wrote:
Thanks for catching that, I fixed it in fb619b3c78b1b6a026b0fec9fccff4c515465803.
https://github.com/llvm/llvm-project/pull/69869
More information about the llvm-commits
mailing list