!46191 [MS][LITE] delete build lite python package cache

Merge pull request !46191 from luoyuan/delete-build-lite-python-cache-whl
This commit is contained in:
i-robot 2022-11-30 01:14:05 +00:00 committed by Gitee
commit 0863ef09bf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ build_python_wheel_package() {
cp ../python/setup.py package/
export TOP_DIR=${BASEPATH}
cd package
rm -rf dist/mindspore_lite-*.whl
python setup.py bdist_wheel
local minor_version=`python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $2}'` || true
local py_tags="cp${python_version}${minor_version}-cp${python_version}${minor_version}"