From b9beff0384a6e0676b58fc84ca7c33faab48f1d5 Mon Sep 17 00:00:00 2001 From: Alex Zinenko Date: Tue, 18 Jun 2019 05:01:30 -0700 Subject: [PATCH] Make examples/Linalg3 depend on the new standard to LLVM conversion library. PiperOrigin-RevId: 253767820 --- mlir/examples/Linalg/Linalg3/lib/CMakeLists.txt | 1 + mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/mlir/examples/Linalg/Linalg3/lib/CMakeLists.txt b/mlir/examples/Linalg/Linalg3/lib/CMakeLists.txt index a8f00df..f97e4a4 100644 --- a/mlir/examples/Linalg/Linalg3/lib/CMakeLists.txt +++ b/mlir/examples/Linalg/Linalg3/lib/CMakeLists.txt @@ -25,6 +25,7 @@ target_link_libraries(Linalg3 MLIRLLVMIR MLIRParser MLIRPass + MLIRStandardToLLVM MLIRTransforms Linalg2 ) diff --git a/mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt b/mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt index db3c21f..3ce7b9f 100644 --- a/mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt +++ b/mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt @@ -4,5 +4,19 @@ add_llvm_library(MLIRStandardToLLVM ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/StandardToLLVM ) -add_dependencies(MLIRStandardToLLVM MLIRLLVMIR LLVMCore LLVMSupport) -target_link_libraries(MLIRStandardToLLVM MLIRLLVMIR LLVMCore LLVMSupport) +add_dependencies( + MLIRStandardToLLVM + + MLIRLLVMIR + MLIRTransforms + LLVMCore + LLVMSupport +) +target_link_libraries( + MLIRStandardToLLVM + + MLIRLLVMIR + MLIRTransforms + LLVMCore + LLVMSupport +) -- 2.7.4