已合并
去除-Werror参数 #9183
去除-Werror参数 #9183
已合并
景明创建于 25 天前
景明
景明成员
25 天前

描述

关联的Issue

https://gitcode.com/cann/ops-transformer/issues/3949

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 景明 的贡献)
景明景明成员
25 天前 创建了 pull request,commit 971e2f34
atomgit-bot
atomgit-bot
25 天前 评论:

变更摘要

此 PR 旨在从项目的构建配置中移除 -Werror 编译参数。-Werror 会将所有编译器警告视为错误,导致编译中断。移除该参数后,警告将不再阻止编译,从而降低构建失败的风险,提升开发与 CI 流程的稳定性。本次改动涉及 121 个文件,以删除配置项为主(净减少 172 行),覆盖面较广,说明 -Werror 此前分布在多个模块或构建脚本中。

主要改动

  • 移除 -Werror 编译选项: 在 121 个构建相关文件中删除 -Werror 标志,使得编译器不再将警告当作错误处理,避免因非关键性警告导致构建失败。
  • 批量清理冗余配置: 删除 277 行、新增 105 行,净减少 172 行,表明在移除 -Werror 的同时可能对相关构建配置进行了简化或统一调整。
likedislike
CANN-robotCANN-robot成员
25 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
25 天前 评论:

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
** 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

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

likedislike
CANN-robotCANN-robot成员
25 天前 将monologue815,Allan_Yu,liudan12,jiangtao_rts,gitcode-chenjiao,hanxiaolong,mabing1118,gcw_kUomxQ2l,Andy-lb设为评审人
CANN-robotCANN-robot成员
25 天前 将jiangtao_rts,gitcode-chenjiao,hanxiaolong,gcw_kUomxQ2l,Andy-lb设为审查人
景明景明成员
25 天前 update merge request[project id: 7673863, iid: 9183, commit_id: 2394fa16eb24c1411f9c9cfa2b5eb4bc14ba5453] virtual merging success
景明景明成员
25 天前 强制推送  1 个提交:d4953a3d-去除-Werror
景明
景明成员
25 天前 评论:

compile

likedislike
景明景明成员
25 天前 update merge request[project id: 7673863, iid: 9183, commit_id: 3ab9a39021c12e09e058b4fb5b9c8747a55ca20f] virtual merging success
景明景明成员
25 天前 update merge request[project id: 7673863, iid: 9183, commit_id: f98d7d35b02114bf1d2b15a96dd76003c4e7e4c3] virtual merging success
CANN-robotCANN-robot成员
25 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
25 天前 评论:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Pre ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
UT_Test ❌ FAILED
PreSmoke_A900 ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>
likedislike
CANN-robot
CANN-robot成员
25 天前 评论:

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

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_style ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_checkpr ✅ SUCCESS
codecheck_precommit ✅ SUCCESS >>>>> >>>>>

[2026-07-27 09:54:18]    CI执行结束

likedislike
liulun0308成员
25 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
25 天前 添加了label:approved
CANN-robotCANN-robot成员
25 天前 添加了label:ci-confirmedci-pipeline-passed
景明景明成员
25 天前 修改了pull request 的描述
jiang-lirui成员
25 天前 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
25 天前 添加了label:lgtm
CANN-robotCANN-robot成员
25 天前 关闭了关联的issue
CANN-robotCANN-robot成员
25 天前 合入了pull request
CANN-robotCANN-robot成员
25 天前 删除了label:ci-pipeline-passed
CANN-robotCANN-robot成员
25 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
25 天前 添加了label:ci-pipeline-failed