已合并
修复patch三方件依赖缺失问题 #1573
songkai111创建于 3月10日
修复patch三方件依赖缺失问题 #1573
已合并
songkai111创建于 3月10日
songkai111成员
3月10日

描述

修复patch三方件依赖缺失问题
部分欧拉场景下,编译abseil三方库,需要patch库

关联的Issue

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 songkai111 的贡献)
Ssongkai111成员
3月10日 创建了 pull request,commit 7f9a71fd
Ssongkai111成员
3月10日 关联了issue:[Bug-Report|缺陷反馈]: 编译该算子依赖系统的patch
CANN-robot
CANN-robot成员
3月10日 评论:

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-math zhou-qilong, wangrui_ (2/2) zhou-qilong (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robotCANN-robot成员
3月10日 将zhou-qilong,wangrui_,rxtfeng,loov1,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
3月10日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月10日 将zhou-qilong,wangrui_,rxtfeng,loov1,llimwang,gubaocheng设为审查人
CANN-robot
CANN-robot成员
3月10日 评论:

CLA Signature Pass

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

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

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

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

问题/功能描述

本次PR旨在解决项目在编译或运行过程中因缺少patch工具而失败的问题。通过明确patch为必需依赖并更新自动化脚本,确保环境搭建的可靠性,提升用户体验。

修改方案描述

修改方案包含两部分:一是在项目快速安装指南文档中将patch工具添加到源码编译的必需依赖列表中;二是在自动化依赖安装脚本install_deps.sh中新增install_patch函数,该函数能自动检测系统(Debian/RHEL/macOS)并利用相应包管理器安装缺失的patch工具。

likedislike
songkai111成员
3月10日 评论:

compile

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

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
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_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
pre_comment ✅ 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 >>>>>
harmony-infer ✅ SUCCESS
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-10 17:02:35]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月10日 添加了label:api-check-pass
CANN-robotCANN-robot成员
3月10日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月10日 添加了label:ci-pipeline-passed
sunday成员
3月10日 评论:

/lgtm
/approve

likedislike
RuiWang_成员
3月10日 评论:

/lgtm

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

Review Guide

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

likedislike
CANN-robotCANN-robot成员
3月10日 关闭了关联的issue
CANN-robotCANN-robot成员
3月10日 合入了pull request