Update build.sh

revert-3824-remove_grad_op_type
Yi Wang 8 years ago
parent f71f3935e3
commit 4b0235c1f2

@ -63,12 +63,11 @@ cmake .. \
cat <<EOF
============================================
Building in /paddle/build ...
Build unit tests: ${WITH_TESTING:-OFF}
============================================
EOF
make -j `nproc`
if [ ${WITH_TESTING:-OFF} == "ON" ] && [ ${RUN_TEST:-OFF} == "ON" ] ; then
if [ ${WITH_TESTING:-ON} == "ON" ] && [ ${RUN_TEST:-OFF} == "ON" ] ; then
cat <<EOF
========================================
Running unit tests ...

Loading…
Cancel
Save