未验证 提交 64e58eb3 编写于 作者: T tianshuo78520a 提交者: GitHub

Add cache (#2304)

* add cache

* fix dir

* change

* change

* change

* change

* fix dir
上级 7f7af560
......@@ -7,9 +7,8 @@ if [ "$night" == "develop" ];then
wget -q https://paddle-wheel.bj.bcebos.com/0.0.0-gpu-cuda9-cudnn7-mkl/paddlepaddle_gpu-0.0.0-cp27-cp27mu-linux_x86_64.whl
pip install -U paddlepaddle_gpu-0.0.0-cp27-cp27mu-linux_x86_64.whl
else
git clone https://github.com/PaddlePaddle/Paddle.git
mkdir Paddle/build && cd Paddle/build
cmake .. -DWITH_GPU=ON -DWITH_COVERAGE=OFF -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release
cd Paddle/build
cmake .. -DWITH_GPU=ON -DWITH_COVERAGE=OFF -DWITH_TESTING=OFF -DCMAKE_BUILD_TYPE=Release
make -j`nproc`
pip install -U python/dist/paddlepaddle_gpu-0.0.0-cp27-cp27mu-linux_x86_64.whl
fi
......
......@@ -7,7 +7,7 @@ if [ $? -ne 0 ];then
echo "code format error"
exit 1
fi
/bin/bash ${DIR_PATH}/scripts/check_api_cn.sh
/bin/bash -x ${DIR_PATH}/scripts/check_api_cn.sh
if [ $? -ne 0 ];then
exit 1
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册