已合并
[Feature][op][eqbsa-01] support CANN msprof include layout #512
[Feature][op][eqbsa-01] support CANN msprof include layout #512
已合并
lanwangli创建于 24 天前
1 个文件变更+6-0
@@ -16,6 +16,12 @@ target_include_directories(intf_pub
16 ${ASCEND_CANN_PACKAGE_PATH}/include/experiment/platform16 ${ASCEND_CANN_PACKAGE_PATH}/include/experiment/platform
17 ${ASCEND_CANN_PACKAGE_PATH}/include/experiment/runtime17 ${ASCEND_CANN_PACKAGE_PATH}/include/experiment/runtime
18 ${ASCEND_CANN_PACKAGE_PATH}/include/experiment/msprof18 ${ASCEND_CANN_PACKAGE_PATH}/include/experiment/msprof
19+ # CANN >= 9.1 (e.g. 9.1.T560) moved prof_api.h into msprof/profiling/ while
20+ # prof_common.h stays in msprof/toolchain/; add both subdirs so the quoted
21+ # cross-include resolves. Non-existent dirs only trigger a harmless
22+ # -Wmissing-include-dirs warning (same as platform/slog on some packages).
23+ ${ASCEND_CANN_PACKAGE_PATH}/include/experiment/msprof/toolchain
24+ ${ASCEND_CANN_PACKAGE_PATH}/include/experiment/msprof/profiling
19 ${ASCEND_CANN_PACKAGE_PATH}/${CMAKE_SYSTEM_PROCESSOR}-linux/pkg_inc25 ${ASCEND_CANN_PACKAGE_PATH}/${CMAKE_SYSTEM_PROCESSOR}-linux/pkg_inc
20 ${ASCEND_CANN_PACKAGE_PATH}/${CMAKE_SYSTEM_PROCESSOR}-linux/pkg_inc/profiling26 ${ASCEND_CANN_PACKAGE_PATH}/${CMAKE_SYSTEM_PROCESSOR}-linux/pkg_inc/profiling
21 ${ASCEND_CANN_PACKAGE_PATH}/${CMAKE_SYSTEM_PROCESSOR}-linux/include/experiment/msprof27 ${ASCEND_CANN_PACKAGE_PATH}/${CMAKE_SYSTEM_PROCESSOR}-linux/include/experiment/msprof