Do no store timestamps in the build result in the build hook case
The variables are only set by CGroup mechanisms in `killSandbox` in the local build. In the build hook case, these variables will not be set, so there is nothing to do.
This commit is contained in:
@@ -922,14 +922,6 @@ Goal::Co DerivationGoal::hookDone()
|
||||
/* Close the log file. */
|
||||
closeLogFile();
|
||||
|
||||
if (buildResult.cpuUser && buildResult.cpuSystem) {
|
||||
debug("builder for '%s' terminated with status %d, user CPU %.3fs, system CPU %.3fs",
|
||||
worker.store.printStorePath(drvPath),
|
||||
status,
|
||||
((double) buildResult.cpuUser->count()) / 1000000,
|
||||
((double) buildResult.cpuSystem->count()) / 1000000);
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
/* Check the exit status. */
|
||||
|
||||
Reference in New Issue
Block a user