update c76 cmake

pull/719/head
wqtshg 4 years ago
parent eea696c45b
commit e38e5e06a2

@ -662,7 +662,7 @@ target_link_libraries(ge_runner PRIVATE
ascend_protobuf
register
c_sec
alog
slog
runtime
resource
error_manager
@ -726,7 +726,7 @@ target_link_libraries(ge_compiler PRIVATE
register
c_sec
error_manager
alog
slog
runtime_compile
resource
-Wl,--as-needed
@ -793,7 +793,7 @@ target_link_libraries(opensrc_ascendcl PRIVATE
-Wl,--no-as-needed
c_sec
runtime
alog
slog
ascend_hal_stub
-Wl,--as-needed
-lrt

@ -113,7 +113,7 @@ target_link_libraries(ge_common PRIVATE
register
c_sec
error_manager
alog
slog
-Wl,--as-needed
json
$<$<NOT:$<STREQUAL:${TARGET_SYSTEM_NAME},Android>>:-lrt>
@ -212,7 +212,7 @@ target_link_libraries(ge_common PRIVATE
register
c_sec
error_manager
alog
slog
static_mmpa
-Wl,--as-needed
json

@ -242,7 +242,7 @@ target_link_libraries(ge_executor_shared PRIVATE
-Wl,--no-as-needed
ge_common
runtime
alog
slog
mmpa
graph
register

@ -57,7 +57,7 @@ target_link_libraries(ge_local_engine PRIVATE
ascend_protobuf
register
c_sec
alog
slog
runtime
-Wl,--as-needed
)
@ -99,7 +99,7 @@ target_link_libraries(atc_ge_local_engine PRIVATE
ascend_protobuf
register
c_sec
alog
slog
runtime_compile
-Wl,--as-needed
)
@ -143,7 +143,7 @@ target_link_libraries(ge_local_opskernel_builder PRIVATE
-Wl,--no-as-needed
ascend_protobuf
c_sec
alog
slog
register
graph
-Wl,--as-needed
@ -183,7 +183,7 @@ target_link_libraries(atc_ge_local_opskernel_builder PRIVATE
-Wl,--no-as-needed
ascend_protobuf
c_sec
alog
slog
register
graph
-Wl,--as-needed

@ -53,7 +53,7 @@ target_include_directories(ge_runtime PRIVATE
target_link_libraries(ge_runtime PRIVATE
$<BUILD_INTERFACE:intf_pub>
-Wl,--no-as-needed
alog
slog
runtime
c_sec
graph

@ -50,7 +50,7 @@ target_link_libraries(host_cpu_engine PRIVATE
c_sec
graph
register
alog
slog
runtime
-Wl,--as-needed
)
@ -91,7 +91,7 @@ target_link_libraries(atc_host_cpu_engine PRIVATE
c_sec
graph
register
alog
slog
runtime_compile
-Wl,--as-needed
)
@ -134,7 +134,7 @@ target_link_libraries(host_cpu_opskernel_builder PRIVATE
-Wl,--no-as-needed
ascend_protobuf
c_sec
alog
slog
graph
register
-Wl,--as-needed
@ -173,7 +173,7 @@ target_link_libraries(atc_host_cpu_opskernel_builder PRIVATE
-Wl,--no-as-needed
ascend_protobuf
c_sec
alog
slog
graph
register
-Wl,--as-needed

@ -69,7 +69,7 @@ target_link_libraries(atc PRIVATE
gflags
json
runtime_compile
alog
slog
static_mmpa
-lrt
-ldl
@ -130,7 +130,7 @@ target_link_libraries(atc_atc.bin PRIVATE
gflags
json
runtime_compile
alog
slog
static_mmpa
-lrt
-ldl
@ -196,7 +196,7 @@ target_link_libraries(fwk_atc.bin PRIVATE
gflags
json
runtime
alog
slog
static_mmpa
-lrt
-ldl

@ -34,7 +34,7 @@ target_include_directories(engine PRIVATE
target_link_libraries(engine PRIVATE
$<BUILD_INTERFACE:intf_pub>
-Wl,--no-as-needed
alog
slog
-Wl,--as-needed
-lrt
-ldl

Loading…
Cancel
Save