[mlir] Build fix for mlir-opt

mlir-opt needs to link against MLIRLoopAnalysis
This shouldn't be needed but MLIR "hack" for
"whole-archive" linking is not compatible with
CMake transitive dependencies management.

Differential Revision: https://reviews.llvm.org/D74097
This commit is contained in:
Kern Handa 2020-02-06 03:02:23 +00:00 committed by Mehdi Amini
parent e3aa062ae9
commit 8dc3da7d58

View file

@ -19,6 +19,7 @@ target_link_libraries(MLIRMlirOptLib
)
set(FULL_LINK_LIBS
MLIRLoopAnalysis
MLIRAnalysis
MLIRAffineOps
MLIRAffineToStandard