diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-12T11·08+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-11-12T11·08+0000 |
commit | a519bb063505a8d39e6b1e12f130d66771676e23 (patch) | |
tree | 409ae5b6acf3a63e8fe3b6669c2f452d4a8b8841 /src/libstore/globals.hh | |
parent | 96598e7b06dad0de082730cab8992eacc440e535 (diff) |
* Some somewhat ad hoc mechanism to allow the build farm to monitor
build progress.
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index a97aa6d8b5ec..2eb68625a6f5 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -82,6 +82,22 @@ extern Paths substituters; users want to disable this from the command-line. */ extern bool useBuildHook; +/* Whether buildDerivations() should print out lines on stderr in a + fixed format to allow its progress to be monitored. Each line + starts with a "@". The following are defined: + + @ build-started <drvpath> <outpath> <system> <logfile> + @ build-failed <drvpath> <outpath> <exitcode> <error text> + @ build-succeeded <drvpath> <outpath> + @ substituter-started <outpath> <substituter> + @ substituter-failed <outpath> <exitcode> <error text> + @ substituter-succeeded <outpath> + + Best combined with --no-build-output, otherwise stderr might + conceivably contain lines in this format printed by the builders. +*/ +extern bool printBuildTrace; + Strings querySetting(const string & name, const Strings & def); |