From d778026c07119d2f64821afafcc7edbcecefdeff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=90=89=E6=96=8C?= Date: Tue, 6 Apr 2021 21:25:33 +0800 Subject: [PATCH] reduce the time of compile python385/390 version --- cmake/package.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/package.cmake b/cmake/package.cmake index fe2d7a829a1..6cbab84e0e8 100644 --- a/cmake/package.cmake +++ b/cmake/package.cmake @@ -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)