Merged
fix(cake): 修复构建目录、pybind 调用与失败反馈 #301
liyinlongAdd on 23 days ago
fix(cake): 修复构建目录、pybind 调用与失败反馈 #301
Merged
Pull Request has been successfully merged by CANN-robot.
(Thank you for liyinlong's contribution.)23 days ago Associated issue: [Bug-Report|缺陷反馈]: build_operator.py 的 CAKE_ROOT 多退一层且技能目录名写成下划线,generate_pybind 永远找不到后只留一条 warning
23 days ago Associated issue: [Bug-Report|缺陷反馈]: build_operator.py 的 CAKE_ROOT 多退一层且技能目录名写成下划线,generate_pybind 永远找不到后只留一条 warning
23 days ago Added label: ai-co-authored
23 days ago Added label: cann-cla/yes
CANN-robot
23 days ago Comments:
23 days ago Comments:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/cannbot | ✅ 金炯, xutianze (2/2) | ✅ 金炯, xutianze (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
lilong555, thanks for your pull request. All authors of the commits have signed the CLA. 👍


23 days ago Set qq_37913898,w00934874,dengguojie,jon_jin,rxtfeng,songkai111,xutianze,pingchuantang,hanrui22,wangzheng97,hedi0515,benwallace52,linghuis,OpSphere,zihengwang2 as approver
23 days ago Set qq_37913898,w00934874,dengguojie,jon_jin,rxtfeng,songkai111,xutianze,pingchuantang,hanrui22,wangzheng97,hedi0515,benwallace52,linghuis,OpSphere,zihengwang2 as approver
23 days ago Set qq_37913898,w00934874,dengguojie,jon_jin,rxtfeng,songkai111,xutianze,pingchuantang,hanrui22,wangzheng97,hedi0515,benwallace52,linghuis,OpSphere,zihengwang2 as approver
23 days ago Set qq_37913898,w00934874,dengguojie,jon_jin,rxtfeng,songkai111,xutianze,pingchuantang,hanrui22,wangzheng97,hedi0515,benwallace52,linghuis,OpSphere,zihengwang2 as approver
liyinlong
23 days ago Comments:
23 days ago Comments:
compile


23 days ago Pre merge succeeded (commit_id: 621225652e9256612986f5a97aa59229972710b6)
CANN-robot
23 days ago Comments:
23 days ago Comments:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


23 days ago Added label: ci-pipeline-running
5 event messages are collapsed here。 See more
22 days ago Modify description of pull request
jon_jin
20 days ago Comments:
20 days ago Comments:
/lgtm
/approve


20 days ago Added label: approved
xutianze
20 days ago Comments:
20 days ago Comments:
/lgtm
/approve


20 days ago Added label: lgtm
20 days ago Closed associated issue
20 days ago Merged pull request
描述
build_operator.py从技能目录向上多退一层,把算子输出定位到插件父目录;pybind 路径还带有过时的.claude/skills/ascendc_evaluation。因此插件output/<op>/下的构建工程无法被找到,pybind 重建也会提前返回脚本缺失。修正路径后,原调用中的--op还会被 pybind CLI 拒绝。以插件根目录解析
output/和子进程工作目录,以兄弟技能ascendc-evaluation/scripts定位绑定脚本,并将算子名作为位置参数传入。这与插件内easyasc-codegen/scripts/regression_test.py的目录及命令约定一致。绑定脚本遇到源码缺失或构建异常时返回非零退出码,调用方据此保留实际失败原因。关联的Issue
Fixes #96
测试
output/add/AddCustom/build.sh的查找。generate_pybind.py,验证参数解析、默认输出目录、绑定源码复制和构建入口调用。构建桥接与 pybind 两个 CLI 均真实执行,build.sh与setup.py使用轻量测试脚本,验证范围为主机侧调用链。git diff --check通过。57f1092的 CI #873 全部通过,包含代码检查与静态门禁。当前PR是否有AI参与
codex-cli 0.167.0。gpt-6-astra。类型标签