Fix dependencies for onnf-opt (#51)

* Ensure onnf-opt is being rebuilt.

* Remove additional dependencies.
This commit is contained in:
Gheorghe-Teodor Bercea 2020-01-31 10:51:43 -05:00 committed by GitHub
parent 5791cfdce7
commit 87aa72764f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,6 @@ add_dependencies(onnf-opt gen_krnl_ops)
target_include_directories(onnf-opt PRIVATE ${ONNF_SRC_ROOT})
target_include_directories(onnf-opt PRIVATE ${ONNF_BIN_ROOT})
target_link_libraries(onnf-opt ${MLIRLibs} curses)
target_link_libraries(onnf-opt builder ${MLIRLibs} onnf_transform onnf_shape_inference onnf_lower_frontend curses)
whole_archive_link_mlir(onnf-opt ${MLIRWholeArchiveLibs})
whole_archive_link_onnf(onnf-opt compiler onnf_transform onnf_lower_frontend onnf_shape_inference)