Browse Source

rm compile macro

tags/v1.2.0
chenyemeng 4 years ago
parent
commit
f95efe48a3
2 changed files with 0 additions and 10 deletions
  1. +0
    -1
      tests/ut/common/graph/CMakeLists.txt
  2. +0
    -9
      tests/ut/ge/CMakeLists.txt

+ 0
- 1
tests/ut/common/graph/CMakeLists.txt View File

@@ -110,7 +110,6 @@ target_compile_options(ut_libgraph PRIVATE

target_compile_definitions(ut_libgraph PRIVATE
google=ascend_private
$<$<STREQUAL:${ENABLE_OPEN_SRC},True>:ONLY_COMPILE_OPEN_SRC>
)

target_link_libraries(ut_libgraph


+ 0
- 9
tests/ut/ge/CMakeLists.txt View File

@@ -898,10 +898,6 @@ target_compile_options(ut_libge_others_utest PRIVATE
-g --coverage -fprofile-arcs -ftest-coverage
)

target_compile_definitions(ut_libge_others_utest PRIVATE
$<$<STREQUAL:${ENABLE_OPEN_SRC},True>:ONLY_COMPILE_OPEN_SRC>
)

target_link_libraries(ut_libge_others_utest
$<BUILD_INTERFACE:intf_pub>
ge_load_common ge_execute_common ge_ut_common gtest gtest_main ascend_protobuf ${COMMON_SHARED_LIBRARIES} json -lrt -ldl -lgcov
@@ -919,10 +915,6 @@ target_compile_options(ut_libge_kernel_utest PRIVATE
-g --coverage -fprofile-arcs -ftest-coverage
)

target_compile_definitions(ut_libge_kernel_utest PRIVATE
$<$<STREQUAL:${ENABLE_OPEN_SRC},True>:ONLY_COMPILE_OPEN_SRC>
)

target_link_libraries(ut_libge_kernel_utest
$<BUILD_INTERFACE:intf_pub>
ge_load_common ge_ut_common gtest gtest_main ascend_protobuf ${COMMON_SHARED_LIBRARIES} json -lrt -ldl -lgcov
@@ -943,7 +935,6 @@ target_compile_options(ut_libge_distinct_load_utest PRIVATE

target_compile_definitions(ut_libge_distinct_load_utest PRIVATE
google=ascend_private
$<$<STREQUAL:${ENABLE_OPEN_SRC},True>:ONLY_COMPILE_OPEN_SRC>
)

target_link_libraries(ut_libge_distinct_load_utest


Loading…
Cancel
Save