Increase timeout on slow build machines (alpha, sparc64) to 16 hours.

This should probably be made a per-machine variable.
This commit is contained in:
Kris Kennaway 2004-03-08 01:25:25 +00:00
parent 6ebc6a8ffb
commit 88ecf0ff35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103250

View file

@ -11,8 +11,14 @@ shift
. ${pb}/${arch}/portbuild.conf
. ${pb}/scripts/buildenv
# wait 8 hours maximum
timeout=28800
# Increase timeout on slow build machines
if [ "$arch" = "alpha" -o "$arch" = "sparc64" ]; then
# wait 16 hours maximum
timeout=57600
else
# wait 8 hours maximum
timeout=28800
fi
branch=$1
command=$2