[PATCH] D70356: TableGen: allow installing clang-tblgen
Marc-Antoine Perennou via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 16 06:57:05 PST 2019
Keruspe created this revision.
Keruspe added reviewers: chandlerc, stoklund.
Keruspe added a project: LLVM.
Herald added subscribers: llvm-commits, mgorny.
This is required to cross-compile clang
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70356
Files:
llvm/cmake/modules/TableGen.cmake
Index: llvm/cmake/modules/TableGen.cmake
===================================================================
--- llvm/cmake/modules/TableGen.cmake
+++ llvm/cmake/modules/TableGen.cmake
@@ -160,7 +160,7 @@
endif()
endif()
- if (${project} STREQUAL LLVM AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY AND LLVM_BUILD_UTILS)
+ if ((${project} STREQUAL LLVM OR ${project} STREQUAL CLANG) AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY AND LLVM_BUILD_UTILS)
set(export_to_llvmexports)
if(${target} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
NOT LLVM_DISTRIBUTION_COMPONENTS)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70356.229692.patch
Type: text/x-patch
Size: 575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191116/dfe05a0a/attachment.bin>
More information about the llvm-commits
mailing list