[PATCH] D69824: Extends the tblgen macro to allow mlir-tblgen to be installed
    Eric Schweitz via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Nov  4 13:28:29 PST 2019
    
    
  
schweitz created this revision.
schweitz added reviewers: mehdi_amini, rriddle.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.
The mlir-tblgen tool was not getting installed.  This change allows the MLIR project to be installed along with llvm-tblgen.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D69824
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 MLIR 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: D69824.227773.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191104/1255c9cb/attachment-0001.bin>
    
    
More information about the llvm-commits
mailing list