Merged
refactor(build): Remove link paths and include paths under ASCEND_CANN_PACKAGE_PATH. #5310
zhengfeitengAdd on Aug 6
refactor(build): Remove link paths and include paths under ASCEND_CANN_PACKAGE_PATH. #5310
Merged
zhengfeitengAdd on Aug 6
zhengfeiteng
Aug 6

头文件搜索路径中去除对cann包安装路径的直接引用。

构建不允许直接搜索cann包安装路径下的头文件,需要通过target_link_libraries链接依赖库,导入相关的头文件搜索路径。链接路径(target_link_directories)同理。

  • setup.py编译pypto相关库时,限定install范围为pypto组件。

Related Issue: #2573

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for zhengfeiteng's contribution.)
zhengfeitengzhengfeiteng
Aug 6 Created pull request, commit 73640d3f
CANN-robotCANN-robotCollaborators
Aug 6 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Aug 6 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
repo-cann/pypto ✅ DCGDDD, jason_yuan_ye (2/2) ✅ DCGDDD (1/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
Aug 6 Set xinweiliu,cam_bxh,dai-zhentao,gguuaanngg,codehjp423,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,hw_zhangzhiqi,yinjie27_,congqiannan,zhangyuebing,tsungl4,gaoxingwang,zhiweiyuan,caodongdong,make_pto,zhoubotcam,linjiashu,wangbing110,WenboCodes as approver
CANN-robotCANN-robotCollaborators
Aug 6 Set xinweiliu,cam_bxh,dai-zhentao,gguuaanngg,codehjp423,gaoxiang618,wangzheng97,DCGDDD,syfeng,jason_yuan_ye,foundea,ym-HW,hw_zhangzhiqi,yinjie27_,congqiannan,zhangyuebing,tsungl4,gaoxingwang,zhiweiyuan,caodongdong,make_pto,zhoubotcam,linjiashu,wangbing110,WenboCodes as approver
70 messages are collapsed here。 See more
atomgit-bot
atomgit-bot
Aug 6 Comments:

代码审查

✅ 未发现问题

likedislike
Incorrect?
袁野
袁野Collaborators
Aug 6 Comments:

/lgtm

likedislike
杨旭
杨旭Collaborators
Aug 7 Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
Aug 7 Added label: lgtmapproved
CANN-robotCANN-robotCollaborators
Aug 7 Merged pull request