已合并
fix: 更新 version.cmake 依赖列表与版本格式 (#142) #381
sinat_31531339创建于 6月30日
fix: 更新 version.cmake 依赖列表与版本格式 (#142) #381
已合并
共 1 个文件变更+5-5
| @@ -8,10 +8,10 @@ | |||
| 8 | # See LICENSE in the root of the software repository for the full text of the License. | 8 | # See LICENSE in the root of the software repository for the full text of the License. |
| 9 | # ----------------------------------------------------------------------------------------------------------- | 9 | # ----------------------------------------------------------------------------------------------------------- |
| 10 | 10 | ||
| 11 | -set_cann_package(oam-tools VERSION "9.0.0") | 11 | +set_cann_package(oam-tools VERSION "9.1.0") |
| 12 | 12 | ||
| 13 | -set_cann_build_dependencies(metadef "9.0") | 13 | +set_cann_build_dependencies(runtime ">=9.0") |
J | |||
| 14 | -set_cann_build_dependencies(runtime "9.0") | 14 | +set_cann_build_dependencies(metadef ">=9.0") |
| 15 | 15 | ||
| 16 | -set_cann_run_dependencies(metadef "9.0") | 16 | +set_cann_run_dependencies(runtime ">=9.0") |
| 17 | -set_cann_run_dependencies(runtime "9.0") | 17 | +set_cann_run_dependencies(metadef ">=9.0") |
问题:依赖清单仍未覆盖实际构建所需组件。仓库的 cmake/dependencies.cmake 中除 runtime/metadef 外还 REQUIRED 查找 OPBASE、platform、nnopbase、tilingapi、aicpu 等包,但本次 version.cmake 仍只声明 runtime 和 metadef。