未验证 提交 80bd093a 编写于 作者: zhouweiwei2014's avatar zhouweiwei2014 提交者: GitHub

fix zip inference library bug (#34025)

上级 86cb3fb8
......@@ -705,6 +705,7 @@ exit /b 1
rem ---------------------------------------------------------------------------------------------
:zip_cc_file
cd /d %work_dir%\build
tree /F %cd%\paddle_inference_install_dir\paddle
if exist paddle_inference.zip del paddle_inference.zip
python -c "import shutil;shutil.make_archive('paddle_inference', 'zip', root_dir='paddle_inference_install_dir')"
......@@ -722,6 +723,7 @@ exit /b 1
rem ---------------------------------------------------------------------------------------------
:zip_c_file
cd /d %work_dir%\build
tree /F %cd%\paddle_inference_c_install_dir\paddle
if exist paddle_inference_c.zip del paddle_inference_c.zip
python -c "import shutil;shutil.make_archive('paddle_inference_c', 'zip', root_dir='paddle_inference_c_install_dir')"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册