已合并
feat(build): 支持 deb/rpm 及 all 格式安装包构建 #98
LiuZonggu创建于 11 天前
feat(build): 支持 deb/rpm 及 all 格式安装包构建 #98
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 LiuZonggu 的贡献)11 天前 添加了label:cann-cla/yes
CANN-robot
11 天前 评论:
11 天前 评论:
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 |
|---|---|---|
| repo-cann/ops-ras | ✅ yue-ma, 陈兴宇 (2/2) | ✅ 陈兴宇, yue-ma (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
LiuZonggu, thanks for your pull request. All authors of the commits have signed the CLA. 👍


CANN-robot
11 天前 评论:
11 天前 评论:
此处折叠了45条消息 查看更多
8 天前 添加了label:approved
chenxingyu18
8 天前 评论:
8 天前 评论:
/lgtm
/approve


8 天前 添加了label:lgtm
8 天前 合入了pull request
描述
为内置 ops-ras 算子包增加 deb/rpm 打包入口,可通过
bash build.sh --pkg --pkg-type=deb|rpm|all选择格式;默认仍为 run,all 一次生成 run、deb 和 rpm 三种格式。PACKAGE_TYPE传递给 cann-cmake 公共打包配置,在 Shell 和 CMake 层校验格式与构建模式;deb/rpm/all 仅支持内置、非静态算子包。build_out/,忽略 CPack 暂存副本及其他仓库产物;构建失败或缺少预期格式时返回错误。PACKAGE_TYPE的旧版离线 cann-cmake 缓存给出明确错误提示。关联的Issue
关联 Issue #32:https://gitcode.com/cann/ops-ras/issues/32
测试
文档更新
更新
docs/zh/install/build.md和docs/en/install/build.md,补充打包命令类型标签