mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-12 20:11:20 +08:00
[Build] Support build with source code of Paddle2ONNX (#1559)
* Add notes for tensors * Optimize some apis * move some warnings * Support build with Paddle2ONNX * Add protobuf support * Fix compile on mac * add clearn package script * Add paddle2onnx code * remove submodule * Add onnx ocde * remove softlink * add onnx code * fix error * Add cmake file * fix patchelf * update paddle2onnx * Delete .gitmodules --------- Co-authored-by: PaddleCI <paddle_ci@example.com> Co-authored-by: pangyoki <pangyoki@126.com> Co-authored-by: jiangjiajun <jiangjiajun@baidu.lcom>
This commit is contained in:
7
scripts/clean_sdk.sh
Normal file
7
scripts/clean_sdk.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
origin_install_dir=$1
|
||||
|
||||
rm -rf $origin_install_dir/include/onnx $origin_install_dir/include/paddle2onnx
|
||||
mv $origin_install_dir/lib $origin_install_dir/lib_bak
|
||||
mkdir $origin_install_dir/lib
|
||||
cp $origin_install_dir/lib_bak/*fastdeploy* $origin_install_dir/lib
|
||||
rm -rf $origin_install_dir/lib_bak
|
Reference in New Issue
Block a user