Skip to content

Commit 86d866f

Browse files
committed
[runtimes] Fix incorrect comment about the purpose of LLVM_DEFAULT_TARGET_TRIPLE
5beec6f 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". Differential Revision: https://reviews.llvm.org/D114007
1 parent a45d228 commit 86d866f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtimes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ find_package(Python3 REQUIRED COMPONENTS Interpreter)
117117
include(GetHostTriple)
118118
get_host_triple(LLVM_HOST_TRIPLE)
119119
set(LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_HOST_TRIPLE}" CACHE STRING
120-
"Default target for which LLVM will generate code.")
120+
"Default target for which the runtimes will be built.")
121121

122122
option(LLVM_INCLUDE_TESTS "Generate build targets for the runtimes unit tests." ON)
123123
option(LLVM_INCLUDE_DOCS "Generate build targets for the runtimes documentation." ON)

0 commit comments

Comments
 (0)