move showOutput into compute remote
This commit is contained in:
parent
52f51d065a
commit
b395bd4f56
2 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,6 @@ perform o r = do
|
||||||
, Remote.Compute.computeReproducible = False
|
, Remote.Compute.computeReproducible = False
|
||||||
}
|
}
|
||||||
fast <- Annex.getRead Annex.fast
|
fast <- Annex.getRead Annex.fast
|
||||||
showOutput
|
|
||||||
Remote.Compute.runComputeProgram program state
|
Remote.Compute.runComputeProgram program state
|
||||||
(Remote.Compute.ImmutableState False)
|
(Remote.Compute.ImmutableState False)
|
||||||
(getInputContent fast)
|
(getInputContent fast)
|
||||||
|
|
|
@ -374,6 +374,7 @@ runComputeProgram (ComputeProgram program) state (ImmutableState immutablestate)
|
||||||
, std_out = CreatePipe
|
, std_out = CreatePipe
|
||||||
, env = Just environ
|
, env = Just environ
|
||||||
}
|
}
|
||||||
|
showOutput
|
||||||
starttime <- liftIO currentMonotonicTimestamp
|
starttime <- liftIO currentMonotonicTimestamp
|
||||||
state' <- bracket
|
state' <- bracket
|
||||||
(liftIO $ createProcess pr)
|
(liftIO $ createProcess pr)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue