diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 7e6f610c33dcff63627113b4206a458c077ade73..837e332ec927b57200b26382b163fa07ee3cb05a 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -68,6 +68,9 @@ function cmake_base() { # Delete previous built whl packages rm -rf python/dist 2>/dev/null || true + # Delete previous built paddle cache + rm -rf python/paddle 2>/dev/null || true + # Support build for all python3 versions PYTHON_FLAGS="" SYSTEM=`uname -s`