Merged
refactor: ENABLE_BUILD_DEVICE相关逻辑合并 #2078
refactor: ENABLE_BUILD_DEVICE相关逻辑合并 #2078
Merged
zhengfeitengAdd on May 11
zhengfeiteng
May 11

描述

ENABLE_BUILD_DEVICE相关逻辑合并。

关联的Issue

https://gitcode.com/cann/asc-devkit/issues/634

测试

对比修改前后编译二进制,一致。

文档更新

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for zhengfeiteng's contribution.)
zhengfeitengzhengfeiteng
May 11 Created pull request, commit 204c777c
CANN-robot
CANN-robotCollaborators
May 11 Comments:

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 ✅ 诸葛洵, chenyiyuan, yangbinhua (3/2) ✅ 诸葛洵 (1/1)
repo-cann/asc-devkit ✅ chenyiyuan, yangbinhua, 诸葛洵 (3/2) ✅ 诸葛洵, chenyiyuan (2/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
May 11 Added label: cann-cla/yes
CANN-robotCANN-robotCollaborators
May 11 Set zengjuan,zhanghao_0689,yanqingshang,wulinyu,zhuliangying,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,wqtshg_wt,yangbinhua,gao_dafa,chenyiyuan,xun_zhuge,ookkkkoo1122,bianque,houyuyang,shi_nanxiang,wuyang_hw,ascendhjh,DragonBornHD84,jiangZD as approver
CANN-robotCANN-robotCollaborators
May 11 Set zengjuan,zhanghao_0689,yanqingshang,wulinyu,zhuliangying,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,wqtshg_wt,yangbinhua,gao_dafa,chenyiyuan,xun_zhuge,ookkkkoo1122,bianque,houyuyang,shi_nanxiang,wuyang_hw,ascendhjh,DragonBornHD84,jiangZD as approver
gao_dafaCollaborators
May 11 Comments:

zhengfeiteng,感谢您的提交,建议在完成PR充分自验证后,再触发线上构建任务。

若您的PR已具备检视条件,可根据下表的责任田,@对应的committer进行代码检视,我们会在第一时间对您的提交进行处理。

代码责任田:

module committer
adv_api chenyiyuan, wuyang_hw
basic_api chenyiyuan, wuyang_hw
c_api pangfd, yue_mo_du_qian
cmake xun_zhuge, DragonBornHD84
docs munanhw, ai_xin
examples changxianyu, bianque
simt_api wulinyu, zhanghao_0689
scripts xun_zhuge, kevin365
tools YANXI_ZHAO, XuebinYang, sjtulxh

💡 如您不确定可以@谁,可以直接@我或者ascend-c sig的maintainer,xun_zhuge和ascendhjh,我们会为您分配合适的committer进行代码检视。

再次感谢您参与CANN的社区贡献。

likedislike
zhengfeiteng
zhengfeiteng
May 11 Comments:

compile

likedislike
CANN-robotCANN-robotCollaborators
May 11 Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
May 11 Comments:

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

任务名称状态日志下载链接
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
pre_comment ✅ 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 >>>>>
precommit ✅ SUCCESS >>>>> >>>>>

[2026-05-11 17:34:16]    CI执行结束

likedislike
CANN-robot
CANN-robotCollaborators
May 11 Comments:

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

任务名称状态日志下载链接
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
UT_Test_adv_test_one ✅ SUCCESS
UT_Test_adv_test_two ✅ SUCCESS
UT_Test_basic_test_one ✅ SUCCESS
UT_Test_basic_test_two ✅ SUCCESS
UT_Test_basic_test_three ✅ SUCCESS
UT_Test_basic_test_four ✅ SUCCESS
UT_Test_basic_test_five ✅ SUCCESS
UT_Test_arm ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>
UT_Test_report ✅ SUCCESS >>>>>

[2026-05-11 17:45:57]    CI执行结束

likedislike
CANN-robot
CANN-robotCollaborators
May 11 Comments:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Presmoke_A900_npupool ✅ SUCCESS

[2026-05-11 17:44:13]    CI执行结束

likedislike
zhengfeitengzhengfeiteng
May 11 Modify description of pull request
CANN-robotCANN-robotCollaborators
May 11 Added label: api-check-pass
CANN-robotCANN-robotCollaborators
May 11 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
May 11 Added label: ci-pipeline-passed
zhengfeitengzhengfeiteng
May 11 Modify description of pull request
yangbinhua
yangbinhuaCollaborators
May 11 Comments:

/lgtm

likedislike
chenyiyuanCollaborators
May 11 Comments:

/lgtm
/approve

likedislike
CANN-robotCANN-robotCollaborators
May 11 Added label: lgtm
zhugexun_sjtu
zhugexun_sjtuCollaborators
May 11 Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
May 11 Added label: approved
CANN-robot
CANN-robotCollaborators
May 11 Comments:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: chenyiyuan, 诸葛洵.
Reviewers who wrote a comment of /lgtm are: 诸葛洵, yangbinhua, chenyiyuan.

likedislike
CANN-robotCANN-robotCollaborators
May 11 Merged pull request