[PATCH] D89762: Check LLVM_TOOLCHAIN_UTILITIES to allow utilities to be included in the toolchain
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 21:53:01 PDT 2020
JDevlieghere created this revision.
JDevlieghere added a reviewer: compnerd.
Herald added a subscriber: mgorny.
Herald added a project: LLVM.
JDevlieghere requested review of this revision.
Make it possible to specify a list of utilities that should be installed in the toolchain.
https://reviews.llvm.org/D89762
Files:
llvm/cmake/modules/AddLLVM.cmake
Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -1227,7 +1227,7 @@
add_llvm_executable(${name} DISABLE_LLVM_LINK_LLVM_DYLIB ${ARGN})
set_target_properties(${name} PROPERTIES FOLDER "Utils")
- if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
+ if ( ${name} IN_LIST LLVM_TOOLCHAIN_UTILITIES OR NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
if (LLVM_INSTALL_UTILS AND LLVM_BUILD_UTILS)
set(export_to_llvmexports)
if (${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89762.299256.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201020/d2d851ca/attachment.bin>
More information about the llvm-commits
mailing list