|
|
@@ -84,11 +84,12 @@ target_include_directories(ge_common PRIVATE |
|
|
|
${CMAKE_BINARY_DIR} |
|
|
|
${CMAKE_BINARY_DIR}/proto/graphengine_protos |
|
|
|
#### yellow zone #### |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc> |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc/cce> |
|
|
|
${GE_DEPEND_DIR}/inc |
|
|
|
${GE_DEPEND_DIR}/inc/cce |
|
|
|
#### blue zone #### |
|
|
|
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc> |
|
|
|
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain> |
|
|
|
#${GE_DEPEND_DIR}/include |
|
|
|
${GE_CODE_DIR}/third_party/fwkacllib/inc |
|
|
|
${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain |
|
|
|
) |
|
|
|
|
|
|
|
target_link_options(ge_common PRIVATE |
|
|
@@ -97,9 +98,6 @@ target_link_options(ge_common PRIVATE |
|
|
|
|
|
|
|
target_link_libraries(ge_common PRIVATE |
|
|
|
$<BUILD_INTERFACE:intf_pub> |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:$<BUILD_INTERFACE:slog_headers>> |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:$<BUILD_INTERFACE:msprof_headers>> |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:$<BUILD_INTERFACE:mmpa_headers>> |
|
|
|
static_mmpa |
|
|
|
-Wl,--no-as-needed |
|
|
|
graph |
|
|
@@ -153,18 +151,16 @@ target_include_directories(ge_common_static PRIVATE |
|
|
|
${CMAKE_BINARY_DIR} |
|
|
|
${CMAKE_BINARY_DIR}/proto/graphengine_protos |
|
|
|
#### yellow zone #### |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc> |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:${GE_DEPEND_DIR}/inc/cce> |
|
|
|
${GE_DEPEND_DIR}/inc |
|
|
|
${GE_DEPEND_DIR}/inc/cce |
|
|
|
#### blue zone #### |
|
|
|
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc> |
|
|
|
$<$<BOOL:${ENABLE_OPEN_SRC}>:${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain> |
|
|
|
#${GE_DEPEND_DIR}/include |
|
|
|
${GE_CODE_DIR}/third_party/fwkacllib/inc |
|
|
|
${GE_CODE_DIR}/third_party/fwkacllib/inc/toolchain |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries(ge_common_static PRIVATE |
|
|
|
$<BUILD_INTERFACE:intf_pub> |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:$<BUILD_INTERFACE:slog_headers>> |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:$<BUILD_INTERFACE:msprof_headers>> |
|
|
|
$<$<NOT:$<BOOL:${ENABLE_OPEN_SRC}>>:$<BUILD_INTERFACE:mmpa_headers>> |
|
|
|
ascend_protobuf_static |
|
|
|
json |
|
|
|
c_sec |
|
|
|