已合并
fix repackage error #2620
liuyang163创建于 3月12日
fix repackage error #2620
已合并
liuyang163创建于 3月12日
liuyang163
3月12日

描述

重打包脚本修改正则匹配,支持通过数据库进行分组编译以及手动分组编译

关联的Issue

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 liuyang163 的贡献)
Lliuyang163
3月12日 创建了 pull request,commit 4ffc0e56
CANN-robot
CANN-robot成员
3月12日 评论:

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
scripts chenqi317, fanqirui (2/2) chenqi317 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robotCANN-robot成员
3月12日 将crystalhu,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2设为评审人
CANN-robotCANN-robot成员
3月12日 将crystalhu,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2设为审查人
CANN-robot
CANN-robot成员
3月12日 评论:

🔵 source code change are detected, tasks labels is removed in this pull request!

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
3月12日 评论:

CLA Signature Pass

liuyang163, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
liuyang163
3月12日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
3月12日 评论:

流水线任务触发成功
任务链接 [ce5f3cfbf5854b6b9dbb872318228404][流水线指导]

任务名称状态日志下载链接
解析CI分支 ✅ SUCCESS
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
Pre_Compile ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_950_ubuntu24 ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-12 17:01:38]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:api-check-pass
CANN-robotCANN-robot成员
3月12日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月12日 添加了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
3月12日 评论:

问题/功能描述

修复了在查找自定义算子组安装包文件时,因文件名匹配模式过于严格而导致部分文件被遗漏的问题。原模式要求文件名中必须包含连续的 -custom_operator_group 字符串,这使得一些格式略有差异但逻辑上符合要求的 .run 文件无法被正确识别,从而可能影响后续的打包流程。

修改方案描述

修改了Shell脚本中 find 命令的 -name 参数匹配模式,将 cann-*-custom_operator_group*.run 调整为 cann-*custom_operator_group*.run。核心改动是移除了 custom_operator_group 前的短横线 (-),使匹配条件更加宽松,能够正确捕获所有以 cann- 开头、包含 custom_operator_group 字符串并以 .run 结尾的文件,确保了文件查找的完整性和脚本的健壮性。

likedislike
chenqi317成员
3月12日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:approved
范其瑞
范其瑞成员
3月12日 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
3月12日 添加了label:lgtm
CANN-robot
CANN-robot成员
3月12日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: chenqi317.
Reviewers who wrote a comment of /lgtm are: chenqi317, fanqirui.

likedislike
CANN-robotCANN-robot成员
3月12日 合入了pull request