From 35aad40692e5ee5cf64ccbb32f1b2e997828b528 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 10 Sep 2013 10:33:55 +0000 Subject: [PATCH] Kill builds that produce more than 64 MiB of log output --- src/script/hydra-build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/script/hydra-build b/src/script/hydra-build index 54232458..39f75aba 100755 --- a/src/script/hydra-build +++ b/src/script/hydra-build @@ -120,7 +120,9 @@ sub doBuild { # associated log files, etc. my $cmd = "nix-store --realise $drvPath " . "--timeout $timeout " . - "--max-silent-time $maxsilent --keep-going --fallback " . + "--max-silent-time $maxsilent " . + "--option build-max-log-size 67108864 " . + "--keep-going --fallback " . "--no-build-output --log-type flat --print-build-trace " . "--add-root " . gcRootFor($outputs{out} // $outputs{(sort keys %outputs)[0]}) . " 2>&1";