Browse Source

update cmakelist add start-group

tags/v1.2.0
taoxiangdong 4 years ago
parent
commit
311f429357
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      ge/offline/CMakeLists.txt

+ 9
- 3
ge/offline/CMakeLists.txt View File

@@ -58,13 +58,15 @@ target_include_directories(atc PRIVATE
target_link_libraries(atc PRIVATE target_link_libraries(atc PRIVATE
$<BUILD_INTERFACE:intf_pub> $<BUILD_INTERFACE:intf_pub>
ascend_protobuf ascend_protobuf
slog
ge_common ge_common
register register
c_sec c_sec
graph graph
error_manager error_manager
-Wl,--start-group
slog
ge_compiler ge_compiler
-Wl,--end-group
parser_common parser_common
gflags gflags
json json
@@ -118,13 +120,15 @@ target_include_directories(atc_atc.bin PRIVATE
target_link_libraries(atc_atc.bin PRIVATE target_link_libraries(atc_atc.bin PRIVATE
$<BUILD_INTERFACE:intf_pub> $<BUILD_INTERFACE:intf_pub>
ascend_protobuf ascend_protobuf
slog
ge_common ge_common
register register
c_sec c_sec
graph graph
error_manager error_manager
-Wl,--start-group
slog
ge_compiler ge_compiler
-Wl,--end-group
parser_common parser_common
gflags gflags
json json
@@ -183,13 +187,15 @@ target_include_directories(fwk_atc.bin PRIVATE
target_link_libraries(fwk_atc.bin PRIVATE target_link_libraries(fwk_atc.bin PRIVATE
$<BUILD_INTERFACE:intf_pub> $<BUILD_INTERFACE:intf_pub>
ascend_protobuf ascend_protobuf
slog
ge_common ge_common
register register
c_sec c_sec
graph graph
error_manager error_manager
-Wl,--start-group
slog
ge_runner ge_runner
-Wl,--end-group
parser_common parser_common
gflags gflags
json json


Loading…
Cancel
Save