Skip to content

Commit a39ed67

Browse files
committed
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.
1 parent db8439c commit a39ed67

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/libstore/build/derivation-goal.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -922,14 +922,6 @@ Goal::Co DerivationGoal::hookDone()
922922
/* Close the log file. */
923923
closeLogFile();
924924

925-
if (buildResult.cpuUser && buildResult.cpuSystem) {
926-
debug("builder for '%s' terminated with status %d, user CPU %.3fs, system CPU %.3fs",
927-
worker.store.printStorePath(drvPath),
928-
status,
929-
((double) buildResult.cpuUser->count()) / 1000000,
930-
((double) buildResult.cpuSystem->count()) / 1000000);
931-
}
932-
933925
try {
934926

935927
/* Check the exit status. */

0 commit comments

Comments
 (0)