已合并
modify simplified key for binary_script #909
sujunwei3创建于 5月29日
modify simplified key for binary_script #909
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 sujunwei3 的贡献)5月29日 添加了label:cann-cla/yes
CANN-robot
5月29日 评论:
5月29日 评论:
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 |
|---|---|---|
| repo-cann/ops-cv | ✅ 刘伟, 冯彤 (2/2) | ✅ 刘伟 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
sujunwei3, thanks for your pull request. All authors of the commits have signed the CLA. 👍


5月29日 添加了label:ci-pipeline-running
CANN-robot
5月29日 评论:
5月29日 评论:
流水线任务触发成功
任务链接 [bcb4553d5a1d401eb4400ec22347e717][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_experimental | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_experimental | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5 | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Pre | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_experimental_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_A5_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910b | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_910c | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_monitor_950 | ✅ SUCCESS | >>>>> | >>>>> |
| UT_Test | ✅ SUCCESS | ||
| PreSmoke_A900 | ✅ SUCCESS | >>>>> | |
| API_Check | ✅ SUCCESS | >>>>> | |
| PreSmoke_ATK_Test_A2 | ✅ SUCCESS | >>>>> |
[2026-05-29 15:01:45] CI执行结束


CANN-robot
5月29日 评论:
5月29日 评论:
流水线任务触发成功
任务链接 [3871cdc446e84f0593a1b6b43ab334c9][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| codecheck_checkpr | ✅ 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-05-29 14:58:47] CI执行结束


5月29日 添加了label:api-check-pass
5月29日 删除了label:ci-pipeline-running
5月29日 添加了label:ci-pipeline-passed
liu-wei
6月1日 评论:
6月1日 评论:
/lgtm
/approve


6月1日 添加了label:approved
6月1日 添加了label:lgtm
6月1日 关闭了关联的issue
6月1日 合入了pull request
描述
修正 binary_script 构建脚本的两个问题:
build_binary_op_exe_task.sh:将timeout 7200改为timeout --foreground 2h--foreground参数确保 timeout 命令在前台脚本环境中正确生效(无此参数时,timeout 在前台进程组中可能无法正常终止子进程)2h替代7200秒数字,提升可读性build_binary_opc_gen_task.sh:简化 key_mode 逻辑ascendc_op_conf条件分支(原逻辑:非空时 key_mode=0,空时 key_mode="None")key_mode=0,消除冗余条件判断关联的Issue
#480
测试
根据代码变更,测试场景如下:
构建脚本功能验证
key_mode 逻辑验证
文档更新
无需文档更新,仅修改构建脚本内部逻辑
类型标签