Implement proper build log scrolling

This commit is contained in:
2020-03-24 16:49:18 +01:00
parent 3ff6be5435
commit 31a8316bfa
5 changed files with 482 additions and 242 deletions

View File

@@ -138,7 +138,7 @@ installGHCBin bDls ver mpfReq = do
lEM $ liftIO $ execLogged "./configure"
False
["--prefix=" <> toFilePath inst]
[rel|ghc-configure.log|]
[rel|ghc-configure|]
(Just path)
Nothing
lEM $ liftIO $ make ["install"] (Just path)
@@ -516,7 +516,7 @@ GhcWithLlvmCodeGen = YES|]
"./configure"
False
["--prefix=" <> toFilePath ghcdir]
[rel|ghc-configure.log|]
[rel|ghc-conf|]
(Just workdir)
(Just (("GHC", toFilePath bghcPath) : newEnv))
| otherwise -> do
@@ -524,7 +524,7 @@ GhcWithLlvmCodeGen = YES|]
"./configure"
False
["--prefix=" <> toFilePath ghcdir, "--with-ghc=" <> toFilePath bghc]
[rel|ghc-configure.log|]
[rel|ghc-conf|]
(Just workdir)
(Just newEnv)
@@ -612,7 +612,7 @@ compileCabal dls tver bver jobs = do
lEM $ liftIO $ execLogged "./bootstrap.sh"
False
(maybe [] (\j -> ["-j", fS (show j)]) jobs)
[rel|cabal-bootstrap.log|]
[rel|cabal-bootstrap|]
(Just workdir)
(Just newEnv)