Skip to content

Commit

Permalink
Fix cmake ci (PaddlePaddle#855)
Browse files Browse the repository at this point in the history
* fix cmake CI
  • Loading branch information
gglin001 authored Jun 30, 2022
1 parent 34261d2 commit 2f98904
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions paddle/scripts/ipu/github_action/action_build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ cmake \
cmake --build /paddle_build --config Release --target all -j 25
# cmake --build /paddle_build --config Release --target all -j `grep -c ^processor /proc/cpuinfo`

# make sure cmake works well
if [ -z "$(ls -A /paddle_build/python/dist)" ]; then
echo "ERROR !!! cmake configure or build error"
exit 1
fi

# ccache
ccache -s

Expand Down

0 comments on commit 2f98904

Please sign in to comment.