[Mlir-commits] [mlir] 6fb7e9a - [mlir] Add missing dependency to MLIRMlirOptMain

Lei Zhang llvmlistbot at llvm.org
Tue May 5 10:32:12 PDT 2020


Author: Lei Zhang
Date: 2020-05-05T13:32:00-04:00
New Revision: 6fb7e9a195b3a43bedfd1c7eebfe24bd5ae0d9fe

URL: https://github.com/llvm/llvm-project/commit/6fb7e9a195b3a43bedfd1c7eebfe24bd5ae0d9fe
DIFF: https://github.com/llvm/llvm-project/commit/6fb7e9a195b3a43bedfd1c7eebfe24bd5ae0d9fe.diff

LOG: [mlir] Add missing dependency to MLIRMlirOptMain

Differential Revision: https://reviews.llvm.org/D79429

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/tools/mlir-opt/CMakeLists.txt b/mlir/tools/mlir-opt/CMakeLists.txt
index 2504b04420b7..ca39f37a8d8d 100644
--- a/mlir/tools/mlir-opt/CMakeLists.txt
+++ b/mlir/tools/mlir-opt/CMakeLists.txt
@@ -30,7 +30,6 @@ set(LIBS
   MLIRTestTransforms
   MLIRSupport
   MLIRIR
-  MLIROptLib
   )
 
 # Exclude from libMLIR.so because this has static options intended for
@@ -42,6 +41,10 @@ add_mlir_library(MLIRMlirOptMain
 
   LINK_LIBS
   ${LIBS}
+
+  DEPENDS
+  intrinsics_gen
+  mlir-headers
   )
 
 add_llvm_tool(mlir-opt


        


More information about the Mlir-commits mailing list