[PATCH] D79429: [mlir] Add missing dependency to MLIRMlirOptMain

Lei Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 10:14:15 PDT 2020


antiagainst created this revision.
antiagainst added reviewers: nicolasvasilache, ftynse.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, shauheen, jpienaar, rriddle, mehdi_amini, mgorny.
Herald added a project: LLVM.
nicolasvasilache accepted this revision.
This revision is now accepted and ready to land.
jpienaar accepted this revision.
jpienaar added a comment.

Thanks!


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79429

Files:
  mlir/tools/mlir-opt/CMakeLists.txt


Index: mlir/tools/mlir-opt/CMakeLists.txt
===================================================================
--- mlir/tools/mlir-opt/CMakeLists.txt
+++ mlir/tools/mlir-opt/CMakeLists.txt
@@ -30,7 +30,6 @@
   MLIRTestTransforms
   MLIRSupport
   MLIRIR
-  MLIROptLib
   )
 
 # Exclude from libMLIR.so because this has static options intended for
@@ -42,6 +41,10 @@
 
   LINK_LIBS
   ${LIBS}
+
+  DEPENDS
+  intrinsics_gen
+  mlir-headers
   )
 
 add_llvm_tool(mlir-opt


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79429.262147.patch
Type: text/x-patch
Size: 469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200505/4e8afebd/attachment.bin>


More information about the llvm-commits mailing list