From 1188b765c9c0938590bacb408469c859e3b978b3 Mon Sep 17 00:00:00 2001 From: Tian Jin Date: Tue, 24 Dec 2019 02:19:46 -0500 Subject: [PATCH] comment out test tanh --- src/tool/onnf_opt/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tool/onnf_opt/CMakeLists.txt b/src/tool/onnf_opt/CMakeLists.txt index 7cde1f2..3f177e7 100644 --- a/src/tool/onnf_opt/CMakeLists.txt +++ b/src/tool/onnf_opt/CMakeLists.txt @@ -4,9 +4,9 @@ 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 compiler ${MLIRLibs}) +target_link_libraries(onnf-opt ${MLIRLibs}) whole_archive_link_mlir(onnf-opt ${MLIRWholeArchiveLibs}) -whole_archive_link_onnf(onnf-opt onnf_transform onnf_lower_frontend onnf_shape_inference) +whole_archive_link_onnf(onnf-opt compiler onnf_transform onnf_lower_frontend onnf_shape_inference) # TODO: need to investigate how to whole-archive link compiler pass to onnf-opt. target_link_libraries(onnf-opt compiler)