已合并
【PR】: refactor: include/ge/ge_error_codes.h to softlink to include/external/acl/error_codes/ge_error_codes.h #2392
duanpengliang创建于 5月25日
【PR】: refactor: include/ge/ge_error_codes.h to softlink to include/external/acl/error_codes/ge_error_codes.h #2392
已合并
共 2 个文件变更+1-11
| @@ -326,13 +326,6 @@ install(DIRECTORY | |||
| 326 | COMPONENT npu-runtime | 326 | COMPONENT npu-runtime |
| 327 | ) | 327 | ) |
| 328 | 328 | ||
| 329 | -install(FILES | ||
| 330 | - ${RUNTIME_DIR}/include/external/acl/error_codes/ge_error_codes.h | ||
| 331 | - DESTINATION ${CMAKE_SYSTEM_PROCESSOR}-linux/include/ge | ||
| 332 | - ${INSTALL_OPTIONAL} | ||
| 333 | - COMPONENT npu-runtime | ||
| 334 | -) | ||
| 335 | - | ||
| 336 | install(FILES | 329 | install(FILES |
| 337 | ${RUNTIME_DIR}/pkg_inc/base/err_mgr.h | 330 | ${RUNTIME_DIR}/pkg_inc/base/err_mgr.h |
| 338 | ${RUNTIME_DIR}/pkg_inc/base/dlog_pub.h | 331 | ${RUNTIME_DIR}/pkg_inc/base/dlog_pub.h |
| @@ -129,7 +129,7 @@ | |||
| 129 | <file value="securectype.h" install_mod="440" entity="true"/> | 129 | <file value="securectype.h" install_mod="440" entity="true"/> |
| 130 | </file_info> | 130 | </file_info> |
| 131 | <file_info copy_type="source" src_path="" dst_path="$(TARGET_ENV)/include/acl/error_codes" install_path="$(TARGET_ENV)/include/acl/error_codes" install_type="all"> | 131 | <file_info copy_type="source" src_path="" dst_path="$(TARGET_ENV)/include/acl/error_codes" install_path="$(TARGET_ENV)/include/acl/error_codes" install_type="all"> |
| 132 | - <file value="ge_error_codes.h" install_mod="440" entity="true"/> | 132 | + <file value="ge_error_codes.h" install_mod="440" install_softlink="$(TARGET_ENV)/include/ge/ge_error_codes.h" entity="true"/> |
| 133 | <file value="rt_error_codes.h" install_mod="440" entity="true"/> | 133 | <file value="rt_error_codes.h" install_mod="440" entity="true"/> |
| 134 | </file_info> | 134 | </file_info> |
| 135 | <file_info copy_type="source" src_path="" dst_path="$(TARGET_ENV)/pkg_inc/dump" install_path="$(TARGET_ENV)/pkg_inc/dump" install_type="all"> | 135 | <file_info copy_type="source" src_path="" dst_path="$(TARGET_ENV)/pkg_inc/dump" install_path="$(TARGET_ENV)/pkg_inc/dump" install_type="all"> |
| @@ -229,9 +229,6 @@ | |||
| 229 | <file value="alog_pub.h" install_mod="440" entity="true"/> | 229 | <file value="alog_pub.h" install_mod="440" entity="true"/> |
| 230 | <file value="log_types.h" install_mod="440" entity="true"/> | 230 | <file value="log_types.h" install_mod="440" entity="true"/> |
| 231 | </file_info> | 231 | </file_info> |
| 232 | - <file_info copy_type="source" src_path="" dst_path="$(TARGET_ENV)/include/ge" install_path="$(TARGET_ENV)/include/ge" install_type="all"> | ||
| 233 | - <file value="ge_error_codes.h" install_mod="440" entity="true"/> | ||
| 234 | - </file_info> | ||
| 235 | <file_info copy_type="source" src_path="" dst_path="$(TARGET_ENV)/pkg_inc/base" install_path="$(TARGET_ENV)/pkg_inc/base" install_type="all"> | 232 | <file_info copy_type="source" src_path="" dst_path="$(TARGET_ENV)/pkg_inc/base" install_path="$(TARGET_ENV)/pkg_inc/base" install_type="all"> |
| 236 | <file value="err_mgr.h" install_mod="440" entity="true"/> | 233 | <file value="err_mgr.h" install_mod="440" entity="true"/> |
| 237 | <file value="dlog_pub.h" install_mod="440" entity="true" install_softlink="$(TARGET_ENV)/include/toolchain/slog.h"/> | 234 | <file value="dlog_pub.h" install_mod="440" entity="true" install_softlink="$(TARGET_ENV)/include/toolchain/slog.h"/> |