ci: Ignore internal errors in snapshot compilers
This commit is contained in:
parent
1f1bb78b7f
commit
8185e72d29
16
ci/ci.sh
16
ci/ci.sh
@ -83,7 +83,21 @@ esac
|
|||||||
--host="$HOST" $EXTRAFLAGS
|
--host="$HOST" $EXTRAFLAGS
|
||||||
|
|
||||||
# We have set "-j<n>" in MAKEFLAGS.
|
# 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:-undefined}" 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
|
# Print information about binaries so that we can see that the architecture is correct
|
||||||
file *tests* || true
|
file *tests* || true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user