Skip to content

Commit

Permalink
Revert "[CINN CI]fix cinn ci run test bug (#58197)" (#58293)
Browse files Browse the repository at this point in the history
This reverts commit 5576ee8.
  • Loading branch information
risemeup1 authored Oct 20, 2023
1 parent eaf81ad commit faa631f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions paddle/scripts/paddle_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3381,7 +3381,6 @@ function build_pr_and_develop() {
mkdir ${PADDLE_ROOT}/build/dev_whl && wget -q -P ${PADDLE_ROOT}/build/dev_whl ${dev_url}
cp ${PADDLE_ROOT}/build/dev_whl/paddlepaddle_gpu-0.0.0-cp310-cp310-linux_x86_64.whl ${PADDLE_ROOT}/build/python/dist
else
tar --use-compress-program="pigz -1" -cpPf build.tar.gz ${PADDLE_ROOT}/build
if [[ ${cmake_change} ]];then
rm -rf ${PADDLE_ROOT}/build/Makefile ${PADDLE_ROOT}/build/CMakeCache.txt ${PADDLE_ROOT}/build/build.ninja
rm -rf ${PADDLE_ROOT}/build/third_party
Expand All @@ -3390,15 +3389,6 @@ function build_pr_and_develop() {
git checkout -b develop_base_pr upstream/$BRANCH
git submodule update --init
run_setup ${PYTHON_ABI:-""} "rerun-cmake bdist_wheel" ${parallel_number}
#NOTE(risemeup1):remove build directory of develop branch to avoid conflict with pr branch,we only need whl package of develop branch
rm -rf ${PADDLE_ROOT}/build
if [ -e "${PADDLE_ROOT}/build.tar.gz" ]; then
tar --use-compress-program="pigz -1" -xpf build.tar.gz
else
echo "build.tar.gz of pr branch not exist"
exit 123
fi

if [ ! -d "${PADDLE_ROOT}/build/python/dist/" ]; then
mkdir ${PADDLE_ROOT}/build/python/dist/
fi
Expand Down

0 comments on commit faa631f

Please sign in to comment.