Merged
Revert "fix(build): 替换已下线头文件graph/ge_error_codes.h为graph/error_codes.h" (PR #818) [9.2.0] #1041
Revert "fix(build): 替换已下线头文件graph/ge_error_codes.h为graph/error_codes.h" (PR #818) [9.2.0] #1041
Merged
songkai111Add on Oct 21
songkai111
songkai111Collaborators
Oct 21

描述

改动原因

同步 master 分支回退 PR(https://gitcode.com/cann/opbase/merge_requests/1034 )到 9.2.0 分支。回退 PR #818(squash 合入 commit dba0bc2),将头文件引用从 graph/error_codes.h 恢复为 graph/ge_error_codes.h。

改动方法

基于 9.2.0 使用 git revert dba0bc2 生成,无冲突。恢复以下 4 处 #include 引用:

  1. include/op_common/log/log.h
  2. src/nnopbase/composite_op/lib_loader/opp_resource_loader.cpp
  3. src/nnopbase/individual_op/executor/indv_executor.cpp
  4. tests/nnopbase/common/depends/metadef/space_registry_stub.cpp

关联的Issue

#351

测试

仅回退头文件引用,无功能改动。

文档更新

无

类型标签

likedislike
Pull Request has been successfully merged by CANN-robot.
(Thank you for songkai111's contribution.)
songkai111songkai111Collaborators
Oct 21 Created pull request, commit 71bd557e
songkai111songkai111Collaborators
Oct 21 Associated issue: [Bug-Report|缺陷反馈]: 引用已下线头文件ge_error_codes.h导致编译失败
atomgit-bot
atomgit-bot
Oct 21 Comments:

变更摘要

本变更将 master 分支上的回退操作同步到 9.2.0 分支,回退 PR #818(commit dba0bc2),将原本替换为 graph/error_codes.h 的头文件引用恢复为 graph/ge_error_codes.h。改动仅涉及头文件引用路径,不涉及任何功能逻辑,属于构建相关引用的回退。

主要改动

  • 回退公共日志头文件引用: include/op_common/log/log.h 中将 #include "graph/error_codes.h" 恢复为 #include "graph/ge_error_codes.h"。
  • 回退算子资源加载模块引用: src/nnopbase/composite_op/lib_loader/opp_resource_loader.cpp 中恢复 graph/ge_error_codes.h 的引用。
  • 回退单算子执行器引用: src/nnopbase/individual_op/executor/indv_executor.cpp 中恢复 graph/ge_error_codes.h 的引用。
  • 回退测试桩引用: tests/nnopbase/common/depends/metadef/space_registry_stub.cpp 中恢复 graph/ge_error_codes.h 的引用。
likedislike
Incorrect?
atomgit-bot
atomgit-bot
Oct 21 Comments:

代码审查

✅ 未发现问题

likedislike
Incorrect?
CANN-robotCANN-robotCollaborators
Oct 21 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Oct 21 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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
9.2.0 ✅ gcw_kUomxQ2l, 汤平川 (2/2) ✅ gcw_kUomxQ2l (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
Oct 21 Set pengjiahao96,zhou-qilong,wangrui_,rxtfeng,loov1,tang-lei01,TianXL,jia0liang,zl_hw,jiangtao_rts,gitcode-chenjiao,hanxiaolong,pingchuantang,llimwang,gubaocheng,wangyongguang,gcw_kUomxQ2l,Andy-lb as approver
CANN-robotCANN-robotCollaborators
Oct 21 Set TianXL,jiangtao_rts,gitcode-chenjiao,hanxiaolong,gcw_kUomxQ2l,Andy-lb as approver
songkai111
songkai111Collaborators
Oct 21 Comments:

compile

likedislike
songkai111songkai111Collaborators
Oct 21 Pre merge succeeded (commit_id: 581d89e36798b86bd341eff918b7010b8786aa92)
CANN-robot
CANN-robotCollaborators
Oct 21 Comments:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robotCollaborators
Oct 21 Added label: ci-pipeline-running
liulun0308
liulun0308Collaborators
Oct 21 Comments:

/approve

likedislike
CANN-robotCANN-robotCollaborators
Oct 21 Added label: approved
CANN-robotCANN-robotCollaborators
Oct 21 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Oct 21 Added label: ci-pipeline-passed
TangPC
TangPCCollaborators
Oct 21 Comments:

/lgtm
/approve

likedislike
CANN-robot
CANN-robotCollaborators
Oct 21 Comments:

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

likedislike
CANN-robotCANN-robotCollaborators
Oct 21 Added label: lgtm
CANN-robotCANN-robotCollaborators
Oct 21 Merged pull request