Closed
binary_enumerate_functions 重复执行时因复用构建产物失败 #938
YanxijiuAdd on  Sep 9Closed at  Sep 11
Yanxijiu
YanxijiuCollaborators
Sep 9 Create

问题描述

example/2_advanced_features/kernel/2_binary_enumerate_functions 在干净构建目录下首次执行成功,但不清理 build 目录再次执行时构建失败,样例无法稳定重复运行。

环境信息

  • Runtime commit:af25ff71e76f0969c0eca52b351ebab9cbf64bbd
  • CANN 版本:9.2.0
  • CANN 构建时间:2026-09-02
  • 设备:Atlas A3,SOC_VERSION=Ascend910_9362
  • 操作系统:待补充

复现步骤

source /home/developer/Ascend/cann/set_env.sh
export ASCEND_INSTALL_PATH=/home/developer/Ascend/cann
source example/set_sample_env.sh
likedislike
YanxijiuYanxijiuCollaborators
Sep 9 Assign 2403_89963296 as responsible person
陈天銮
陈天銮
Sep 9 Comments:
likedislike
CANN-robotCANN-robotCollaborators
Sep 9 Assign weixin_51634168 as responsible person
陈天銮陈天銮
Sep 9 Associated pull request
陈天銮
陈天銮
Sep 9 Comments:

复用 build目录直接执行 cmake 构建,AscendC 构建产物不支持增量复用,导致第二次执行构建失败已经在https://gitcode.com/cann/runtime/pull/4771 中修改

likedislike
ykl999ykl999Collaborators
Sep 9 Added label: wait-feedback
ykl999ykl999Collaborators
Sep 11 changed custom state from 待办的 to 已解决
ykl999ykl999Collaborators
Sep 11 Close issue
CANN-robotCANN-robotCollaborators
Sep 11 Added label: resolved