已合并
工程构建适配离线下载脚本 #3293
yang-di52创建于 3月28日
工程构建适配离线下载脚本 #3293
已合并
yang-di52创建于 3月28日
yang-di52成员
3月28日

描述

适配离线下载脚本

  1. 调用scripts/tools/third_lib_download.py,此脚本会下载nn仓所需的开源软件,目录为scripts/tools/cann_3rd_lib_path_download
  2. 构建时使用参数--cann_3rd_lib_path=scripts/tools/cann_3rd_lib_path_download,离线构建正常触发

关联的Issue

#1797

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 yang-di52 的贡献)
Yyang-di52成员
3月28日 创建了 pull request,commit fde2ab7c
Yyang-di52成员
3月28日 将目标分支从 master 修改为 9.0.0
Yyang-di52成员
3月28日 update merge request[project id: 7665709, iid: 3293, commit_id: 45baf184ddc6fdc8b1dcd281add0f8d630860eca] virtual merging success
CANN-robot
CANN-robot成员
3月28日 评论:

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

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

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

likedislike
CANN-robotCANN-robot成员
3月28日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月28日 将crystalhu,yangyang016,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2,gcw_kUomxQ2l,Andy-lb,gcw_Dm2TsRUi设为评审人
CANN-robotCANN-robot成员
3月28日 将crystalhu,yangyang016,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2设为审查人
CANN-robot
CANN-robot成员
3月28日 评论:

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

likedislike
Yyang-di52成员
3月28日 update merge request[project id: 7665709, iid: 3293, commit_id: d351994e70995f54be5eb9ddbaf451eb7288b903] virtual merging success
Yyang-di52成员
3月28日 强制推送  1 个提交:bd1f24ff-适配离线下载脚本
Yyang-di52成员
3月28日 update merge request[project id: 7665709, iid: 3293, commit_id: 053c65245c1a45c5c529d38f39aa37f7457802ed] virtual merging success
CANN-robot
CANN-robot成员
3月28日 评论:

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

likedislike
yang-di52成员
3月28日 评论:

compile

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

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ❌ FAILED >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
Pre_Compile ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ❌ FAILED >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
Compile_X86_monitor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ⚪ ABORTED
UT_Test_opapi ⚪ ABORTED
UT_Test_kernel ⚪ ABORTED
UT_Test_opgraph ⚪ ABORTED
Smoke_A900_npupool ⚪ ABORTED

[2026-03-28 16:52:03]    CI执行失败

likedislike
CANN-robotCANN-robot成员
3月28日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月28日 添加了label:ci-pipeline-failed
Yyang-di52成员
3月28日 update merge request[project id: 7665709, iid: 3293, commit_id: 03fdb264364c130d2aceb5b233565f5bb47b1609] virtual merging success
Yyang-di52成员
3月28日 推送  1 个提交:c237a610-fix
Yyang-di52成员
3月28日 update merge request[project id: 7665709, iid: 3293, commit_id: 6d7a001e4931c3d626e56217cbfbc37e75995210] virtual merging success
CANN-robotCANN-robot成员
3月28日 添加了label:stat/needs-squash
CANN-robot
CANN-robot成员
3月28日 评论:

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

likedislike
CANN-robotCANN-robot成员
3月28日 删除了label:ci-pipeline-failed
Yyang-di52成员
3月28日 修改了pull request 的描述
Yyang-di52成员
3月28日 修改了pull request 的描述
yang-di52成员
3月28日 评论:

compile

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

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ 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 >>>>> >>>>>
Pre_Compile ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
Compile_X86_monitor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-28 17:11:11]    CI执行结束

likedislike
Yyang-di52成员
3月28日 修改标题为 “工程构建适配离线下载脚本”,原标题为“适配离线下载脚本”
CANN-robotCANN-robot成员
3月28日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月28日 添加了label:ci-pipeline-passed
范其瑞
范其瑞成员
3月28日 评论:

/lgtm

likedislike
Yyang-di52成员
3月28日 update merge request[project id: 7665709, iid: 3293, commit_id: 13feb8db8582ed9595f18b4b82a4b42884a418ca] virtual merging success
Yyang-di52成员
3月28日 强制推送  1 个提交:91b1d2c8-fix
Yyang-di52成员
3月28日 update merge request[project id: 7665709, iid: 3293, commit_id: fa045b1a65a91d4e157edb793160f6be784c36ff] virtual merging success
CANN-robotCANN-robot成员
3月28日 删除了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
3月28日 评论:

Notification

This pull request source branch has changed, so removes the following label(s): ci-pipeline-passed.

likedislike
yang-di52成员
3月28日 评论:

compile

likedislike
CANN-robot
CANN-robot成员
3月28日 评论:

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

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

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ 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 >>>>> >>>>>
Pre_Compile ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
Compile_X86_monitor ✅ SUCCESS >>>>> >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-28 17:38:33]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月28日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月28日 添加了label:ci-pipeline-passed
Yyang-di52成员
3月30日 修改了pull request 的描述
chenqi317成员
3月30日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
3月30日 添加了label:approved
yangyang016成员
3月30日 评论:

/lgtm
/approve

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

Review Guide

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

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