已合并
cann-cmake 依赖版本从 master-033 升级至 master-044 #1156
cann-cmake 依赖版本从 master-033 升级至 master-044 #1156
已合并
Ding_Jing创建于 29 天前
Ding_Jing
Ding_Jing成员
29 天前

描述

将 cann-cmake 依赖版本从 master-033 升级至 master-044,同步更新 CMake 配置、下载脚本及相关文档中的版本引用和 SHA256 校验值。

具体改动:

  • cmake/fetch_cann_cmake.cmake:更新 CANN_CMAKE_TAGmaster-044,更新 URL_HASH SHA256 校验值
  • scripts/tools/third_lib_download.py:更新 cmake 下载 URL 为 cmake-master-044.tar.gz
  • SECURITY.md:更新依赖表中的 cann-cmake 版本引用
  • docs/zh/install/compile.md:更新编译依赖说明中的 cann-cmake 版本

关联的Issue

#638

测试

根据代码变更,测试场景如下:

  1. 编译构建测试

    • 执行 cmake 配置和编译,验证 cann-cmake master-044 依赖包能正确下载并完成编译构建
    • 验证 URL_HASH SHA256 校验值与 master-044 包匹配,FetchContent 下载校验通过
  2. 第三方依赖下载测试

    • 运行 scripts/tools/third_lib_download.py,验证 cmake-master-044.tar.gz 能从 OBS 正确下载
  3. CMake 配置验证

    • 验证 CANN_CMAKE_TAG 变量正确生效,无缓存残留导致仍使用旧版本

文档更新

更新 docs/zh/install/compile.md 中 cann-cmake 依赖版本说明,从 master-033 更新为 master-044。

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 Ding_Jing 的贡献)
Ding_JingDing_Jing成员
29 天前 创建了 pull request,commit e9764fee
atomgit-bot
atomgit-bot
29 天前 评论:

变更摘要

此 PR 将 CANN 项目的 CMake 依赖版本从 master-033 升级至 master-044,同步更新了对应的 SHA256 校验哈希与第三方库下载链接。

主要改动

  • CMake 依赖版本升级cmake/fetch_cann_cmake.cmake 中的 CANN_CMAKE_TAG"master-033" 更新为 "master-044",同时将 URL_HASH 的 SHA256 值更新为与新版本包匹配的哈希。
  • 第三方下载地址同步scripts/tools/third_lib_download.py 中的 cmake 下载 URL 由 cmake-master-033.tar.gz 替换为 cmake-master-044.tar.gz,确保脚本拉取的压缩包与 FetchContent 声明的版本一致。
likedislike
atomgit-bot
atomgit-bot
29 天前 评论:

代码审查

✅ 未发现问题

likedislike
CANN-robotCANN-robot成员
29 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
29 天前 评论:

CLA Signature Pass

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

likedislike
CANN-robot
CANN-robot成员
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) 刘伟, 周奇龙 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robotCANN-robot成员
29 天前 将zhou-qilong,rxtfeng,loov1,zhangzijie,zl_hw,liu-wei,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
29 天前 将zhou-qilong,rxtfeng,loov1,zhangzijie,zl_hw,liu-wei,llimwang,gubaocheng设为审查人
Ding_JingDing_Jing成员
29 天前 修改了pull request 的描述
Ding_Jing
Ding_Jing成员
29 天前 评论:

compile

likedislike
Ding_JingDing_Jing成员
29 天前 update merge request[project id: 7657293, iid: 1156, commit_id: 58c1602cef0c914c1fc6c75a55cc5d902adb96dc] virtual merging success
Ding_JingDing_Jing成员
29 天前 修改标题为 “cann-cmake 依赖版本从 master-033 升级至 master-044”,原标题为“update master-044”
CANN-robotCANN-robot成员
29 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
29 天前 评论:

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

任务名称状态日志下载链接
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 >>>>> >>>>>
Compile_classify ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_9030_ubuntu24 ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>
UT_Test_harmony-infer-chs-cv ✅ SUCCESS
UT_Test_report_lcov ✅ SUCCESS

[2026-07-23 12:04:16]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
29 天前 评论:

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

任务名称状态日志下载链接
SCA ❌ FAILED >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell ✅ SUCCESS
StaticCheck_link_validity ✅ SUCCESS
StaticCheck_resource_existence ✅ SUCCESS
StaticCheck_tag_closed ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ✅ SUCCESS >>>>>
codecheck_precommit ✅ SUCCESS >>>>>
likedislike
CANN-robotCANN-robot成员
29 天前 添加了label:api-check-pass
CANN-robotCANN-robot成员
29 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
29 天前 添加了label:ci-pipeline-failed
Ding_Jing
Ding_Jing成员
28 天前 评论:

compile

likedislike
Ding_JingDing_Jing成员
28 天前 update merge request[project id: 7657293, iid: 1156, commit_id: d5a95c3d1a2f5700d28bd444e903a2f6d4a96486] virtual merging success
CANN-robotCANN-robot成员
28 天前 删除了label:ci-pipeline-failedapi-check-pass
CANN-robotCANN-robot成员
28 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
28 天前 评论:

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

任务名称状态日志下载链接
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 >>>>> >>>>>
Compile_classify ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_9030_ubuntu24 ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>
UT_Test_harmony-infer-chs-cv ✅ SUCCESS
UT_Test_report_lcov ✅ SUCCESS

[2026-07-24 09:14:10]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
28 天前 评论:

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

任务名称状态日志下载链接
SCA ❌ FAILED >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell ✅ SUCCESS
StaticCheck_link_validity ✅ SUCCESS
StaticCheck_resource_existence ✅ SUCCESS
StaticCheck_tag_closed ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_precommit ✅ SUCCESS >>>>>
likedislike
CANN-robotCANN-robot成员
28 天前 添加了label:api-check-pass
CANN-robotCANN-robot成员
28 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
28 天前 添加了label:ci-pipeline-failed
Ding_Jing
Ding_Jing成员
28 天前 评论:

compile

likedislike
CANN-robotCANN-robot成员
28 天前 删除了label:ci-pipeline-failedapi-check-pass
CANN-robotCANN-robot成员
28 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
28 天前 评论:

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

任务名称状态日志下载链接
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 >>>>> >>>>>
Compile_classify ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_9030_ubuntu24 ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>
UT_Test_harmony-infer-chs-cv ✅ SUCCESS
UT_Test_report_lcov ✅ SUCCESS

[2026-07-24 09:48:58]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
28 天前 评论:

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

任务名称状态日志下载链接
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell ✅ SUCCESS
StaticCheck_link_validity ✅ SUCCESS
StaticCheck_resource_existence ✅ SUCCESS
StaticCheck_tag_closed ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_precommit ✅ SUCCESS >>>>>

[2026-07-24 09:42:33]    CI执行结束

likedislike
CANN-robotCANN-robot成员
28 天前 添加了label:api-check-pass
CANN-robotCANN-robot成员
28 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
28 天前 添加了label:ci-pipeline-passed
liu-wei
liu-wei成员
28 天前 评论:

/lgtm
/approve

likedislike
DevLeev成员
28 天前 评论:

/lgtm

likedislike
CANN-robot
CANN-robot成员
28 天前 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
LiWei79

likedislike
CANN-robot
CANN-robot成员
28 天前 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
LiWei79

likedislike
CANN-robotCANN-robot成员
28 天前 添加了label:approved
CANN-robot
CANN-robot成员
28 天前 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
LiWei79

likedislike
Ding_Jing
Ding_Jing成员
28 天前 评论:
likedislike
Ding_Jing
Ding_Jing成员
28 天前 评论:
likedislike
Ding_Jing
Ding_Jing成员
28 天前 评论:
likedislike
sunday成员
28 天前 评论:

/lgtm
/approve

likedislike
CANN-robot
CANN-robot成员
28 天前 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
LiWei79

likedislike
CANN-robotCANN-robot成员
28 天前 添加了label:lgtm
CANN-robotCANN-robot成员
28 天前 关闭了关联的issue
CANN-robotCANN-robot成员
28 天前 合入了pull request