|
|
|
@@ -734,7 +734,7 @@ set(KERNEL_TEST_FILES |
|
|
|
|
|
|
|
set(MULTI_PARTS_TEST_FILES |
|
|
|
"graph_ir/ge_operator_factory_unittest.cc" |
|
|
|
"graph_ir/ge_ir_build_unittest.cc" |
|
|
|
"graph_ir/ge_ir_build_unittest.cc" |
|
|
|
"graph/transop_util_unittest.cc" |
|
|
|
"common/datatype_transfer_unittest.cc" |
|
|
|
"common/dump_manager_unittest.cc" |
|
|
|
@@ -814,6 +814,7 @@ target_compile_definitions(ge_ut_graph PRIVATE |
|
|
|
|
|
|
|
target_compile_options(ge_ut_graph PRIVATE |
|
|
|
-g |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_ut_graph PRIVATE |
|
|
|
@@ -833,6 +834,7 @@ target_compile_definitions(ge_ut_common PRIVATE |
|
|
|
target_compile_options(ge_ut_common PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_ut_common PRIVATE |
|
|
|
@@ -853,6 +855,7 @@ target_compile_definitions(ge_ut_common_format PRIVATE |
|
|
|
target_compile_options(ge_ut_common_format PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_ut_common_format PRIVATE |
|
|
|
@@ -872,6 +875,7 @@ target_compile_definitions(ge_prepare_common PRIVATE |
|
|
|
target_compile_options(ge_prepare_common PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_prepare_common PRIVATE |
|
|
|
@@ -891,6 +895,7 @@ target_compile_definitions(ge_optimize_common PRIVATE |
|
|
|
target_compile_options(ge_optimize_common PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_optimize_common PRIVATE |
|
|
|
@@ -910,6 +915,7 @@ target_compile_definitions(ge_partition_common PRIVATE |
|
|
|
target_compile_options(ge_partition_common PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_partition_common PRIVATE |
|
|
|
@@ -929,6 +935,7 @@ target_compile_definitions(ge_load_common PRIVATE |
|
|
|
target_compile_options(ge_load_common PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_load_common PRIVATE |
|
|
|
@@ -948,6 +955,7 @@ target_compile_definitions(ge_execute_common PRIVATE |
|
|
|
target_compile_options(ge_execute_common PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_execute_common PRIVATE |
|
|
|
@@ -967,6 +975,7 @@ target_compile_definitions(ge_build_common PRIVATE |
|
|
|
target_compile_options(ge_build_common PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_build_common PRIVATE |
|
|
|
@@ -986,6 +995,7 @@ target_compile_definitions(ge_pass_common PRIVATE |
|
|
|
target_compile_options(ge_pass_common PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_pass_common PRIVATE |
|
|
|
@@ -1005,6 +1015,7 @@ target_compile_definitions(ge_single_op PRIVATE |
|
|
|
target_compile_options(ge_single_op PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_single_op PRIVATE |
|
|
|
@@ -1026,6 +1037,7 @@ add_executable(ut_libge_multiparts_utest |
|
|
|
target_compile_options(ut_libge_multiparts_utest PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_compile_definitions(ut_libge_multiparts_utest PRIVATE |
|
|
|
@@ -1050,6 +1062,7 @@ add_executable(ut_libge_others_utest |
|
|
|
target_compile_options(ut_libge_others_utest PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ut_libge_others_utest |
|
|
|
@@ -1069,6 +1082,7 @@ add_executable(ut_libge_kernel_utest |
|
|
|
target_compile_options(ut_libge_kernel_utest PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ut_libge_kernel_utest |
|
|
|
@@ -1092,6 +1106,7 @@ add_executable(ut_libge_distinct_load_utest |
|
|
|
target_compile_options(ut_libge_distinct_load_utest PRIVATE |
|
|
|
-g --coverage -fprofile-arcs -ftest-coverage |
|
|
|
-Werror=format |
|
|
|
-fno-common |
|
|
|
) |
|
|
|
|
|
|
|
target_compile_definitions(ut_libge_distinct_load_utest PRIVATE |
|
|
|
|