已合并
fix(aicpu): 修正 hcomm 源码目录探测候选路径 #261
ooooo创建于 10 天前
fix(aicpu): 修正 hcomm 源码目录探测候选路径 #261
已合并
共 1 个文件变更+2-2
| @@ -37,8 +37,8 @@ message(STATUS "ASCCOMM_CANN_ARCH_DIR = ${ASCCOMM_CANN_ARCH_DIR}") | |||
| 37 | # 最后探测相邻源码仓;没有契约头时回退到随仓自包含头文件。 | 37 | # 最后探测相邻源码仓;没有契约头时回退到随仓自包含头文件。 |
| 38 | if(NOT ASCCOMM_CONTROL_PLANE_SOURCE_DIR) | 38 | if(NOT ASCCOMM_CONTROL_PLANE_SOURCE_DIR) |
| 39 | foreach(_candidate | 39 | foreach(_candidate |
| 40 | - "${ASCCOMM_ROOT}/../hcomm_pkg_inc" | 40 | + "${ASCCOMM_ROOT}/../hcomm" |
| 41 | - "${ASCCOMM_ROOT}/../hcomm") | 41 | + "${ASCCOMM_ROOT}/../../hcomm") |
| 42 | if(EXISTS "${_candidate}/pkg_inc/hcomm/hcomm_res_entity_defs.h") | 42 | if(EXISTS "${_candidate}/pkg_inc/hcomm/hcomm_res_entity_defs.h") |
| 43 | get_filename_component(ASCCOMM_CONTROL_PLANE_SOURCE_DIR "${_candidate}" ABSOLUTE) | 43 | get_filename_component(ASCCOMM_CONTROL_PLANE_SOURCE_DIR "${_candidate}" ABSOLUTE) |
| 44 | break() | 44 | break() |