We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f40be1 commit 26a7009Copy full SHA for 26a7009
lib/BuildLib.hs
@@ -265,5 +265,10 @@ runBuild :: String -> String -> String -> [String] -> IO ()
265
runBuild buildProg package componentPrefix components = do
266
let componentsWithContext =
267
map (\c -> [str|#{package}:#{componentPrefix}:#{c}|]) components
268
+ {-
269
componentsWithContextStr = unwords componentsWithContext
270
toStdoutV [str|#{buildProg} #{componentsWithContextStr}|]
271
+ -}
272
+ -- Build the targets serially, one at a time so that we can see the ghc
273
+ -- memory stats to find out memory used by each target
274
+ mapM_ (\x -> toStdoutV [str|#{buildProg} #{x}|]) componentsWithContext
0 commit comments