We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f1bb78 commit 8185e72Copy full SHA for 8185e72
ci/ci.sh
@@ -83,7 +83,21 @@ esac
83
--host="$HOST" $EXTRAFLAGS
84
85
# We have set "-j<n>" in MAKEFLAGS.
86
-make
+build_exit_code=0
87
+make > make.log 2>&1 || build_exit_code=$?
88
+cat make.log
89
+if [ $build_exit_code -ne 0 ]; then
90
+ case "${CC:-undefined}" in
91
+ *snapshot*)
92
+ # Ignore internal compiler errors in gcc-snapshot and clang-snapshot
93
+ grep -e "internal compiler error:" -e "PLEASE submit a bug report" make.log
94
+ return $?;
95
+ ;;
96
+ *)
97
+ return 1;
98
99
+ esac
100
+fi
101
102
# Print information about binaries so that we can see that the architecture is correct
103
file *tests* || true
0 commit comments