From 5c9e9f732df6d95d712f25de9880b7461c53d6ca Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 30 Jun 2011 15:19:13 +0000 Subject: Add support for the `build-timeout' and `--timeout' options. --- src/libstore/globals.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libstore/globals.hh') diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index a74a741d677e..231c1f8508ac 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -72,6 +72,10 @@ extern string thisSystem; infinity. */ extern time_t maxSilentTime; +/* The maximum duration in seconds that a builder can run. 0 means + infinity. */ +extern time_t buildTimeout; + /* The substituters. There are programs that can somehow realise a store path without building, e.g., by downloading it or copying it from a CD. */ -- cgit 1.4.1