已合并
del: upgrade script of asc-devkit #4251
qinhan创建于 7月10日
del: upgrade script of asc-devkit #4251
已合并
从已删除 :9.1.0合入到cann/asc-devkit9.1.0
Pull Request已成功合入, 合并人@CANN-robot
(感谢 qinhan 的贡献)atomgit-bot
7月10日 评论:
7月10日 评论:
变更摘要
此 PR 将 asc-devkit 升级脚本从本地文件复制方式切换为公共仓脚本方式,移除了对本地 asc-devkit 目录的依赖及相关冗余检查逻辑,减少代码冗余。
主要改动
- 移除本地
sourcedir变量定义:删除了sourcedir="$PWD/asc-devkit"变量,不再依赖当前工作目录下的本地asc-devkit文件夹。 - 移除本地目录存在性检查:在
new_upgrade()函数中删除了对${sourcedir}目录是否存在的判断及提前返回逻辑,不再因本地缺少asc-devkit目录而跳过升级。 - 新增
--copy_all参数:在调用install_common_parser.sh时新增--copy_all选项,改为由公共仓脚本统一处理文件复制,替代原有的本地文件分发方式。


不准确?
atomgit-bot
7月10日 评论:
7月10日 评论:
7月10日 添加了label:cann-cla/yes
CANN-robot
7月10日 评论:
7月10日 评论:
CANN-robot
7月10日 评论:
7月10日 评论:
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
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| ** | ✅ gcw_kUomxQ2l, bianque (2/2) | ✅ gcw_kUomxQ2l (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


7月10日 将zengjuan,zhanghao_0689,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,bianque,houyuyang,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,ascendhjh,DragonBornHD84,hyolee,gcw_kUomxQ2l,Andy-lb设为评审人
7月10日 将zengjuan,zhanghao_0689,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,bianque,houyuyang,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,ascendhjh,DragonBornHD84,hyolee,gcw_kUomxQ2l,Andy-lb设为评审人
7月10日 将munanhw,ai_xin,gcw_kUomxQ2l,Andy-lb设为审查人
7月10日 修改了pull request 的描述
7月10日 修改了pull request 的描述
qinhan
7月10日 评论:
7月10日 评论:
compile


7月10日 预合并成功(commit_id: 681a352669349411401fc48601ca8ef7722c89a0)
7月10日 添加了label:ci-pipeline-running
CANN-robot
7月10日 评论:
7月10日 评论:
流水线任务触发成功
任务链接 [8a6c881396364b72b753669a9d272ba3][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck | ✅ SUCCESS | >>>>> | |
| codecheck_Pr | ✅ SUCCESS | ||
| pre_comment | ✅ SUCCESS | >>>>> | |
| StaticCheck_codespell_check | ✅ SUCCESS | ||
| StaticCheck_link_validity_check | ✅ SUCCESS | ||
| StaticCheck_resource_existence_check | ✅ SUCCESS | ||
| StaticCheck_tag_closed_check | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| codecheck_codestyle | ✅ SUCCESS | >>>>> | |
| codecheck_precommit | ✅ SUCCESS | >>>>> | >>>>> |
[2026-07-10 14:59:59] CI执行结束


CANN-robot
7月10日 评论:
7月10日 评论:
CANN-robot
7月10日 评论:
7月10日 评论:
流水线任务触发成功
任务链接 [cebef83e296f4ec49d2e96e88aeacf02][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test_adv_test_one | ✅ SUCCESS | ||
| UT_Test_adv_test_two | ✅ SUCCESS | ||
| UT_Test_basic_test_two | ✅ SUCCESS | ||
| UT_Test_basic_test_three | ✅ SUCCESS | ||
| UT_Test_basic_test_four | ✅ SUCCESS | ||
| UT_Test_basic_test_five | ✅ SUCCESS | ||
| UT_Test_arm | ✅ SUCCESS | ||
| UT_Test_report | ✅ SUCCESS | >>>>> |
[2026-07-10 15:07:34] CI执行结束


gao_dafa
7月10日 评论:
7月10日 评论:
qinhan123,感谢您的提交,建议在完成PR充分自验证后,再触发线上构建任务。
若您的PR已具备检视条件,可根据下表的责任田,@对应的committer进行代码检视,我们会在第一时间对您的提交进行处理。
代码责任田:
| module | committer |
|---|---|
| adv_api | chenyiyuan, wuyang_hw |
| basic_api | chenyiyuan, wuyang_hw |
| c_api | pangfd, haipingmao |
| cmake | xun_zhuge, DragonBornHD84 |
| docs | munanhw, ai_xin |
| examples | changxianyu, bianque |
| simt_api | wulinyu, zhanghao_0689 |
| scripts | xun_zhuge, kevin365 |
| tools | YANXI_ZHAO, XuebinYang, sjtulxh |
💡 如您不确定可以@谁,可以直接@我或者ascend-c sig的maintainer,xun_zhuge和ascendhjh,我们会为您分配合适的committer进行代码检视。
再次感谢您参与CANN的社区贡献。


7月10日 删除了label:ci-pipeline-running
7月10日 添加了label:ci-pipeline-passed
liulun0308
7月10日 评论:
7月10日 评论:
/approve


7月10日 添加了label:approved
7月10日 添加了label:lgtm
7月10日 合入了pull request
描述
asc-devkit升级脚本切换为公共仓脚本,减少冗余代码。
关联的Issue
NA
测试
compile; UT; BUILD
文档更新
NA
类型标签