已合并
[build] revert Shell scripts shebang #2648
ouyangcaike创建于 6 天前
[build] revert Shell scripts shebang #2648
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ouyangcaike 的贡献)6 天前 创建了 pull request,commit ced09a19
atomgit-bot
6 天前 评论:
6 天前 评论:
变更摘要
本 PR 属于构建(build)相关改动,目的是回退 PR #2558 中对 Shell 脚本 shebang 头的修改,将 #!/usr/bin/env bash 还原为 #!/bin/bash,恢复通过绝对路径直接指定 bash 解释器的写法;同时将 scripts/oat_check.sh 还原为 #!/bin/sh。改动仅涉及脚本首行 shebang,不包含业务逻辑调整。
主要改动
- 回退 CI/构建脚本 shebang:
.gitcode/scripts/compile.sh、pre_smoke.sh、ut.sh、build.sh、examples/build.sh及test/st/algorithm/build.sh的 shebang 由#!/usr/bin/env bash还原为#!/bin/bash。 - 回退安装/打包脚本 shebang:
scripts/custom/install.sh及scripts/package/hccl/下多个脚本(如install.sh、uninstall.sh、run_hccl_install.sh、run_hccl_uninstall.sh、run_hccl_upgrade.sh、hccl_custom_install.sh、hccl_func.sh、ver_check.sh、custom_postinst.sh、custom_prerm.sh等)的 shebang 统一由#!/usr/bin/env bash还原为#!/bin/bash。 - 回退检查脚本 shebang:
scripts/oat_check.sh的 shebang 还原为#!/bin/sh,与其他脚本的还原目标不同。 - 回退其余脚本 shebang:
examples/03_ai_framework/02_tensorflow/run_tensorflow.sh与scripts/update_version_info/update_version_info.sh同样由#!/usr/bin/env bash还原为#!/bin/bash。


atomgit-bot
6 天前 评论:
6 天前 评论:
6 天前 添加了label:cann-cla/yes
CANN-robot
6 天前 评论:
6 天前 评论:
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.
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 |
|---|---|---|
| .gitcode/** | ✅ 宋常霞, 颜业峰, chenyia (3/2) | ✅ 宋常霞 (1/1) |
| examples | ✅ 颜业峰, chenyia (2/2) | ✅ 颜业峰 (1/1) |
| repo-cann/hccl | ✅ 颜业峰, chenyia (2/2) | ✅ 颜业峰 (1/1) |
| scripts | ✅ 颜业峰, chenyia (2/2) | ✅ 颜业峰 (1/1) |
| test/st/algorithm | ✅ chenyia, ZhanPhil, 颜业峰 (3/2) | ✅ ZhanPhil (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
ouyangcaike, thanks for your pull request. All authors of the commits have signed the CLA. 👍


6 天前 将mywaaagh_admin,leabclove,songchangxia,tanghaoran7,yanglianxiang2,ccNeo824,whk19940509,chengym,shentukangjun,ccl_ligang,linyf950,yanzhenghang,chenliang267,yanyefeng,chenhao_,dingweiqin_57,Larry_liuyi,songmingyang,wenxuemin,yangxiaoyuan,laodazhao1,yangshaohua,chenke2026,zhongqin2020,bz_lee,Innoecho,chenyia,temper7620,zhangxp1030,abiggg,lilin_137,lilianlin_hw,hulk1997,virtual_runtime,zheng555,zhuyiming3,ZhanPhil,ouyangxizi设为评审人
6 天前 将mywaaagh_admin,leabclove,songchangxia,tanghaoran7,yanglianxiang2,ccNeo824,whk19940509,chengym,shentukangjun,ccl_ligang,linyf950,yanzhenghang,chenliang267,yanyefeng,chenhao_,dingweiqin_57,Larry_liuyi,songmingyang,wenxuemin,yangxiaoyuan,laodazhao1,yangshaohua,chenke2026,zhongqin2020,bz_lee,Innoecho,chenyia,temper7620,zhangxp1030,abiggg,lilin_137,lilianlin_hw,hulk1997,virtual_runtime,zheng555,zhuyiming3,ZhanPhil,ouyangxizi设为评审人
6 天前 将mywaaagh_admin,leabclove,songchangxia,tanghaoran7,yanglianxiang2,ccNeo824,whk19940509,chengym,shentukangjun,ccl_ligang,linyf950,yanzhenghang,chenliang267,yanyefeng,chenhao_,dingweiqin_57,Larry_liuyi,songmingyang,wenxuemin,yangxiaoyuan,laodazhao1,yangshaohua,chenke2026,zhongqin2020,bz_lee,Innoecho,chenyia,temper7620,zhangxp1030,abiggg,lilin_137,lilianlin_hw,hulk1997,virtual_runtime,zheng555,zhuyiming3,ZhanPhil,ouyangxizi设为审查人
6 天前 将mywaaagh_admin,leabclove,songchangxia,tanghaoran7,yanglianxiang2,ccNeo824,whk19940509,chengym,shentukangjun,ccl_ligang,linyf950,yanzhenghang,chenliang267,yanyefeng,chenhao_,dingweiqin_57,Larry_liuyi,songmingyang,wenxuemin,yangxiaoyuan,laodazhao1,yangshaohua,chenke2026,zhongqin2020,bz_lee,Innoecho,chenyia,temper7620,zhangxp1030,abiggg,lilin_137,lilianlin_hw,hulk1997,virtual_runtime,zheng555,zhuyiming3,ZhanPhil,ouyangxizi设为审查人
ouyangcaike
6 天前 评论:
6 天前 评论:
/compile


Oouyangcaike
6 天前 update merge request[project id: 8277906, iid: 2648, commit_id: 84925755dd3885c61ed0e9ae49630da95eaf2ddf] virtual merging success
6 天前 update merge request[project id: 8277906, iid: 2648, commit_id: 84925755dd3885c61ed0e9ae49630da95eaf2ddf] virtual merging success
6 天前 添加了label:ci-pipeline-running
CANN-robot
6 天前 评论:
6 天前 评论:
流水线任务触发成功
任务链接 [77b81ae5bf9b4159a6f9931afeb73fe9][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ❌ FAILED | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| Compile_Ascend_X86_monitor | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_ARM_monitor | ✅ SUCCESS | >>>>> |


6 天前 删除了label:ci-pipeline-running
6 天前 添加了label:ci-pipeline-failed
CANN-robot
6 天前 评论:
6 天前 评论:
流水线 PR-pipeline_cann_hccl#6492 [ commitID:c173a0aa ] 运行失败


philo
6 天前 评论:
6 天前 评论:
/lgtm
/approve


ouyangcaike
6 天前 评论:
6 天前 评论:
/compile


6 天前 删除了label:ci-pipeline-failed
6 天前 添加了label:ci-pipeline-running
CANN-robot
6 天前 评论:
6 天前 评论:
流水线任务触发成功
任务链接 [e65bcea80fc74bc5af060caf620148e2][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| SCA | ✅ SUCCESS | >>>>> | |
| antipoison | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM_ubuntu24 | ✅ SUCCESS | >>>>> | >>>>> |
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS | ||
| Compile_Ascend_X86_monitor | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_ARM_monitor | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS | >>>>> | |
| API_Check | ✅ SUCCESS | >>>>> | |
| ST_Test | ✅ SUCCESS | >>>>> | |
| codecheck | ✅ SUCCESS | >>>>> | |
| precommit | ✅ SUCCESS | >>>>> | |
| codecheck_codestyle | ✅ SUCCESS | >>>>> | |
| PreSmoke_A900_npupool | ✅ SUCCESS | >>>>> | |
| PreSmoke_A3_npupool | ✅ SUCCESS | >>>>> |
[2026-08-18 17:45:12] CI执行结束


6 天前 添加了label:lgtm
6 天前 添加了label:api-check-pass
6 天前 删除了label:ci-pipeline-running
6 天前 添加了label:ci-pipeline-passed
CANN-robot
6 天前 评论:
6 天前 评论:
流水线 PR-pipeline_cann_hccl#6499 [ commitID:c173a0aa ] 已完成


songchangxia
6 天前 评论:
6 天前 评论:
/lgtm
/approve


6 天前 添加了label:approved
6 天前 合入了pull request
描述
关联的Issue
NA
测试
文档更新
NA
类型标签