[PATCH] D117263: [CMake] Support runtimes targets without specifying triple
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 13:53:49 PDT 2022
smeenai accepted this revision.
smeenai added a comment.
This revision is now accepted and ready to land.
Herald added a project: All.
Sorry, this fell off my radar! Your reasoning makes sense to me, and in particular, I'd forgotten that only compiler-t has the Darwin multi-arch setup (and you'd still need to handle libc++/libc++abi/libunwind differently).
================
Comment at: llvm/runtimes/CMakeLists.txt:261
+function(runtime_register_target name)
+ cmake_parse_arguments(ARG "" "" "DEPENDS;CMAKE_ARGS;EXTRA_NAMES;EXTRA_ARGS" ${ARGN})
include(${LLVM_BINARY_DIR}/runtimes/${name}/Components.cmake OPTIONAL)
----------------
This part of the multilib setup has always confused me. Is there only ever going to be one extra name (as is the case in this diff)? If so, maybe something like `BASE_NAME` or a different name would convey the intent better?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117263/new/
https://reviews.llvm.org/D117263
More information about the llvm-commits
mailing list