Skip to content

Commit

Permalink
ci: Ignore internal errors in snapshot compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Nov 7, 2023
1 parent 1f1bb78 commit 61575fd
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,21 @@ esac
--host="$HOST" $EXTRAFLAGS

# We have set "-j<n>" in MAKEFLAGS.
make
build_exit_code=0
make > make.log 2>&1 || build_exit_code=$?
cat make.log
if [ $build_exit_code -ne 0 ]; then
case $CC in
*snapshot*)
# Ignore internal compiler errors in gcc-snapshot and clang-snapshot
grep -e "internal compiler error:" -e "PLEASE submit a bug report" make.log
return $?;
;;
*)
return 1;
;;
esac
fi

# Print information about binaries so that we can see that the architecture is correct
file *tests* || true
Expand Down

0 comments on commit 61575fd

Please sign in to comment.