已合并
refactor: init_cann_project() 移至 dependencies.cmake 之后调用 #8702
zhaoyingdong创建于 18 天前
refactor: init_cann_project() 移至 dependencies.cmake 之后调用 #8702
已合并
共 1 个文件变更+1-1
| @@ -123,6 +123,7 @@ if(DOWNLOAD_OPS_TEST_KIT) | |||
| 123 | include(cmake/third_party/ops_test_kit.cmake) | 123 | include(cmake/third_party/ops_test_kit.cmake) |
| 124 | endif() | 124 | endif() |
| 125 | include(cmake/dependencies.cmake) | 125 | include(cmake/dependencies.cmake) |
| 126 | +init_cann_project() | ||
| 126 | include(cmake/third_party/ops-tensor.cmake) | 127 | include(cmake/third_party/ops-tensor.cmake) |
| 127 | add_cann_third_party(json) | 128 | add_cann_third_party(json) |
| 128 | add_cann_third_party(abseil-cpp) | 129 | add_cann_third_party(abseil-cpp) |
| @@ -139,7 +140,6 @@ if(ENABLE_CUSTOM AND ENABLE_ASC_BUILD) | |||
| 139 | include(cmake/custom_kernel.cmake) | 140 | include(cmake/custom_kernel.cmake) |
| 140 | endif() | 141 | endif() |
| 141 | 142 | ||
| 142 | -init_cann_project() | ||
| 143 | if(BUILD_WITH_INSTALLED_DEPENDENCY_CANN_PKG) | 143 | if(BUILD_WITH_INSTALLED_DEPENDENCY_CANN_PKG) |
| 144 | check_cann_pkg_build_deps("ops-nn") | 144 | check_cann_pkg_build_deps("ops-nn") |
| 145 | endif() | 145 | endif() |