From: Aart Bik Date: Thu, 27 May 2021 20:33:32 +0000 (-0700) Subject: [mlir][capi] fix build issue with "all passes" registration X-Git-Tag: llvmorg-14-init~5385 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef1cc4e7aebea584c9e63837fc83f4f755cb7af3;p=platform%2Fupstream%2Fllvm.git [mlir][capi] fix build issue with "all passes" registration Some builds exposed missing dependences on trafo/conv passes. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D103283 --- diff --git a/mlir/lib/CAPI/Registration/CMakeLists.txt b/mlir/lib/CAPI/Registration/CMakeLists.txt index 417140a..b4a8650 100644 --- a/mlir/lib/CAPI/Registration/CMakeLists.txt +++ b/mlir/lib/CAPI/Registration/CMakeLists.txt @@ -1,5 +1,7 @@ # Dialect registration. get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) +get_property(translation_libs GLOBAL PROPERTY MLIR_TRANSLATION_LIBS) +get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS) add_mlir_public_c_api_library(MLIRCAPIRegistration Registration.cpp @@ -7,4 +9,6 @@ add_mlir_public_c_api_library(MLIRCAPIRegistration MLIRCAPIIR MLIRLLVMToLLVMIRTranslation ${dialect_libs} + ${translation_libs} + ${conversion_libs} )