diff --git a/lite/tools/build.sh b/lite/tools/build.sh index 2222b438596214bebb5194628f997503a9eb3368..002b71f043e0c6017762ec83311502056e8cb374 100755 --- a/lite/tools/build.sh +++ b/lite/tools/build.sh @@ -50,6 +50,7 @@ function prepare_thirdparty { function build_model_optimize_tool { cd $workspace + prepare_thirdparty mkdir -p build.model_optimize_tool cd build.model_optimize_tool cmake .. -DWITH_LITE=ON -DLITE_ON_MODEL_OPTIMIZE_TOOL=ON -DWITH_TESTING=OFF -DLITE_BUILD_EXTRA=ON