From a1a2182b8aa1a1d1b0f728fd49f603f52aa16fc4 Mon Sep 17 00:00:00 2001 From: zhoufeng Date: Wed, 15 Apr 2020 09:48:04 +0800 Subject: [PATCH] modify whl file name to be same as package name --- cmake/package_script.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmake/package_script.cmake b/cmake/package_script.cmake index 565154a38d..dcc8ee0ad0 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})