[libcxx-commits] [PATCH] D114007: [runtimes] Fix incorrect comment about the purpose of LLVM_DEFAULT_TARGET_TRIPLE
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 16 08:46:02 PST 2021
ldionne created this revision.
ldionne added reviewers: phosek, DavidSpickett.
Herald added a subscriber: mgorny.
ldionne requested review of this revision.
Herald added projects: libc++, libc++abi.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Herald added a reviewer: libc++abi.
5beec6fb04e7 <https://reviews.llvm.org/rG5beec6fb04e7dc3fb37ec0cb9acce9db635d3604> added LLVM_DEFAULT_TARGET_TRIPLE to the runtimes build with
a comment, however I believe that comment had been copied from the LLVM
build tree. In the context of the runtimes, LLVM_DEFAULT_TARGET_TRIPLE
is used to set what targets we are building for, not the target for which
we "generate code".
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114007
Files:
runtimes/CMakeLists.txt
Index: runtimes/CMakeLists.txt
===================================================================
--- runtimes/CMakeLists.txt
+++ runtimes/CMakeLists.txt
@@ -115,7 +115,7 @@
include(GetHostTriple)
get_host_triple(LLVM_HOST_TRIPLE)
set(LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_HOST_TRIPLE}" CACHE STRING
- "Default target for which LLVM will generate code.")
+ "Default target for which the runtimes will be built.")
option(LLVM_INCLUDE_TESTS "Generate build targets for the runtimes unit tests." ON)
option(LLVM_INCLUDE_DOCS "Generate build targets for the runtimes documentation." ON)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114007.387665.patch
Type: text/x-patch
Size: 590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211116/be821e04/attachment.bin>
More information about the libcxx-commits
mailing list