| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: rename externel_depends to external_depends Co-authored-by: Trouble_Im_in<guanzhongkang1@huawei.com> # message auto-generated for no-merge-commit merge: !4432 merge fix/externel-spelling-fix into master fix: rename externel_depends to external_depends Created-by: Trouble_Im_in Commit-by: Trouble_Im_in Merged-by: cann-robot Description: ## 变更概述 修复 HCOMM 仓库根目录拼写错误: externel → external ### 问题背景 - 根目录文件夹名 externel_depends 应为 external_depends(英语单词 **external** 被错误拼写为 **externel**) - 导致 IDE 全局搜索 "external" 时遗漏该目录下的 4 个 tsch 头文件 - 构建缓存(build/compile_commands.json)中残留 1922+ 处旧路径引用 ### 修改内容 | 类型 | 文件 | 说明 | |------|------|------| | **R** | externel_depends/tsch/*.h → external_depends/tsch/*.h | Git rename(4 个 tsch 头文件) | | **M** | src/legacy/ascend910/framework/ccl_kernel.cmake | 路径引用修正 | | **M** | src/legacy/ascend910/hccd/CMakeLists.txt | 路径引用修正 | | **M** | src/legacy/ascend910/platform/ccl_kernel_plf.cmake | 路径引用修正 | | **M** | src/legacy/ascend950/hccl_v2.cmake | 路径引用修正 | | **M** | test/legacy/ut/CMakeLists.txt | 路径引用修正 | | **M** | test/ut/framework/next/coll_comms/dfx/CMakeLists.txt | 路径引用修正 | | **M** | test/ut/stub/CMakeLists.txt | 路径引用修正 | **总计**: 11 条变更(4 rename + 7 路径引用修正) ### 验证结果 | 检查项 | 状态 | 说明 | |--------|------|------| | SRS 分析 | ✅ 通过 | 需求分析完成,6 条关键需求条目 | | STC 用例设计 | ✅ 通过 | 31 条用例覆盖全部需求场景 | | pkg 编译 | ✅ PASS | build_out/cann-hcomm_9.2.0_linux-aarch64.run (33MB) | | ST 编译 | ✅ PASS | 增量编译 100% 完成,所有 target 链接成功 | | 代码检视 | ✅ **通过** | S1=0, S2=0, S3=0(独立检视零违规) | | 拼写残留扫描 | ✅ **零匹配** | rg "externel" hcomm/ --no-ignore 排除 .git 后零结果 | ### 影响评估 - **源码层**: 零变更(不涉及 .cc/.h/.cpp 内容修改) - **运行时性能**: 无影响(纯目录重命名 + 构建缓存重建) - **兼容性**: 与仓内其他正确命名的 external_depends 目录统一 - **hccl_vm 目录**: 未修改(保持原样) ### 测试建议 CI 门禁验证: 1. /compile 触发全量编译(确认 compile_commands.json 中无 externel 残留) 2. UT/ST 自动运行(验证路径修正未破坏现有功能) --- **关联 Issue**: https://gitcode.com/cann/hcomm/issues/744 See merge request: cann/hcomm!4432 | 6 天前 |