Skip to content

Commit

Permalink
Merge bitcoin-core/secp256k1#1437: ci: Ignore internal errors of snap…
Browse files Browse the repository at this point in the history
…shot compilers

8185e72 ci: Ignore internal errors in snapshot compilers (Hennadii Stepanov)

Pull request description:

  It was discussed on today's IRC meeting.

ACKs for top commit:
  real-or-random:
    ACK 8185e72

Tree-SHA512: 0f41ca8303bd3d6efefcd3a544c7bd7dfcf464c57c779c876da4a77cacd262e6c963449d493fdf5a641b0d10b655c8c67fe8a147145b6533328d7bf5344313e1
  • Loading branch information
real-or-random committed Nov 8, 2023
2 parents 40f50d0 + 8185e72 commit c891c5c
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:-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
file *tests* || true
Expand Down

0 comments on commit c891c5c

Please sign in to comment.