diff --git a/cmake/package_script.cmake b/cmake/package_script.cmake index 565154a38dfa77951ca71cc87c257d38a781ddbc..dcc8ee0ad0dec9ff5fd79d9c497391670587324a 100644 --- a/cmake/package_script.cmake +++ b/cmake/package_script.cmake @@ -76,8 +76,6 @@ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows") ) endif () -set(PACKAGE_NAME "mindspore") - file(GLOB WHL_FILE ${MS_PACK_ROOT_DIR}/dist/*.whl) get_filename_component(ORIGIN_FILE_NAME ${WHL_FILE} NAME) string(REPLACE "-" ";" ORIGIN_FILE_NAME ${ORIGIN_FILE_NAME})