| Files | Last commit | Last update |
|---|---|---|
refactor(build): Replace hardcoded paths with CMake imported targets Co-authored-by: wangmingjun<wangmingjun13@huawei.com> # message auto-generated for no-merge-commit merge: !5147 merge header-deps into master refactor(build): Replace hardcoded paths with CMake imported targets Created-by: hwwangmingjun Commit-by: wangmingjun Merged-by: cann-robot Description: 为实现全量源码构建场景(issue #2573),将 CMake 构建系统中对 cann-toolkit 头文件、库文件的硬编码路径依赖(ASCEND_CANN_PACKAGE_PATH) 替换为 CMake imported targets,通过 find_cann_package 查找 acl_rt、ascend_hal、hcomm/hccl、runtime、atrace、slog 等依赖。 Changes: - 顶层 CMakeLists.txt 增加 acl_rt、ascend_hal、hcomm、hccl、runtime 的 find_cann_package 调用,并处理 hcomm_headers 别名 - cmake/device/CMakeLists.txt 增加 ascend_hal、atrace、hcomm/hccl、slog 的依赖查找 - adapter/machine/device 各 CMakeLists.txt 移除硬编码 include/link 目录,改用 target_link_libraries 引用 imported targets - c_sec 安装改用 $<TARGET_FILE> 生成表达式,头文件安装改用 $<TARGET_PROPERTY> - version.cmake 增加 runtime、hcomm 的构建依赖声明 Related Issues: #2573 See merge request: cann/pypto!5147 | 3 months ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 7 months ago |