[PATCH] D64225: [cmake] Don't set install rules for tblgen if building utils is disabled

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 12:03:51 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL366108: [cmake] Don't set install rules for tblgen if building utils is disabled (authored by kfischer, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D64225?vs=208092&id=209929#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64225/new/

https://reviews.llvm.org/D64225

Files:
  llvm/trunk/cmake/modules/TableGen.cmake


Index: llvm/trunk/cmake/modules/TableGen.cmake
===================================================================
--- llvm/trunk/cmake/modules/TableGen.cmake
+++ llvm/trunk/cmake/modules/TableGen.cmake
@@ -147,7 +147,7 @@
     endif()
   endif()
 
-  if (${project} STREQUAL LLVM AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
+  if (${project} STREQUAL LLVM 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: D64225.209929.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190715/299d9197/attachment.bin>


More information about the llvm-commits mailing list