forked from mindspore-Ecosystem/mindspore
!14707 fix the problem of "the time of compile python385/390 version of daily building too long"
From: @fan-jibin Reviewed-by: @xsmq,@zhunaipan Signed-off-by: @zhunaipan
This commit is contained in:
commit
3692fd19de
|
@ -5,6 +5,7 @@ include(GNUInstallDirs)
|
|||
# set package information
|
||||
set(CPACK_PACKAGE_NAME ${PROJECT_NAME})
|
||||
set(CPACK_GENERATOR "External")
|
||||
set(CPACK_CMAKE_GENERATOR "Ninja")
|
||||
set(CPACK_EXTERNAL_PACKAGE_SCRIPT ${CMAKE_SOURCE_DIR}/cmake/package_script.cmake)
|
||||
set(CPACK_EXTERNAL_ENABLE_STAGING true)
|
||||
set(CPACK_TEMPORARY_PACKAGE_FILE_NAME ${CMAKE_SOURCE_DIR}/build/package/mindspore)
|
||||
|
|
Loading…
Reference in New Issue