已合并
[build] revert Shell scripts shebang #2648
ouyangcaike创建于 6 天前
[build] revert Shell scripts shebang #2648
已合并
ouyangcaike创建于 6 天前
ouyangcaike成员
6 天前

描述

  1. 回退https://gitcode.com/cann/hccl/pull/2558中关于shell脚本shebang头的修改

关联的Issue

NA

测试

  1. 编译成功
  2. 拦截任务成功

文档更新

NA

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ouyangcaike 的贡献)
Oouyangcaike成员
6 天前 创建了 pull request,commit ced09a19
atomgit-bot
atomgit-bot
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.shpre_smoke.shut.shbuild.shexamples/build.shtest/st/algorithm/build.sh 的 shebang 由 #!/usr/bin/env bash 还原为 #!/bin/bash
  • 回退安装/打包脚本 shebangscripts/custom/install.shscripts/package/hccl/ 下多个脚本(如 install.shuninstall.shrun_hccl_install.shrun_hccl_uninstall.shrun_hccl_upgrade.shhccl_custom_install.shhccl_func.shver_check.shcustom_postinst.shcustom_prerm.sh 等)的 shebang 统一由 #!/usr/bin/env bash 还原为 #!/bin/bash
  • 回退检查脚本 shebangscripts/oat_check.sh 的 shebang 还原为 #!/bin/sh,与其他脚本的还原目标不同。
  • 回退其余脚本 shebangexamples/03_ai_framework/02_tensorflow/run_tensorflow.shscripts/update_version_info/update_version_info.sh 同样由 #!/usr/bin/env bash 还原为 #!/bin/bash
likedislike
atomgit-bot
atomgit-bot
6 天前 评论:

代码审查

✅ 未发现问题

likedislike
CANN-robotCANN-robot成员
6 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
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 /approve or /lgtm
  • Commenting /approve implies 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. 👍

likedislike
CANN-robotCANN-robot成员
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设为评审人
CANN-robotCANN-robot成员
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 天前 评论:

/compile

likedislike
Oouyangcaike成员
6 天前 update merge request[project id: 8277906, iid: 2648, commit_id: 84925755dd3885c61ed0e9ae49630da95eaf2ddf] virtual merging success
CANN-robotCANN-robot成员
6 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
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 >>>>>
likedislike
CANN-robotCANN-robot成员
6 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6 天前 添加了label:ci-pipeline-failed
CANN-robot
CANN-robot成员
6 天前 评论:
流水线 PR-pipeline_cann_hccl#6492 [ commitID:c173a0aa ] 运行失败
likedislike
philo
philo成员
6 天前 评论:

/lgtm
/approve

likedislike
ouyangcaike成员
6 天前 评论:

/compile

likedislike
CANN-robotCANN-robot成员
6 天前 删除了label:ci-pipeline-failed
CANN-robotCANN-robot成员
6 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
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执行结束

likedislike
chenyia成员
6 天前 评论:

/lgtm

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

/approve

likedislike
songchangxia成员
6 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
6 天前 添加了label:approved
CANN-robotCANN-robot成员
6 天前 合入了pull request