From 86d866f2f60227fcba61909a726249e1dee1cf88 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Tue, 16 Nov 2021 11:43:42 -0500 Subject: [PATCH] [runtimes] Fix incorrect comment about the purpose of LLVM_DEFAULT_TARGET_TRIPLE 5beec6fb04e7 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 --- runtimes/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index a224275..85b865e 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -117,7 +117,7 @@ find_package(Python3 REQUIRED COMPONENTS Interpreter) 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) -- 2.7.4