Commit 0b6c0aa0 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Do putInfo even in verbose mode, minor revision.

parent 72f6ec65
......@@ -46,7 +46,7 @@ customBuild rs opts target@Target {..} = do
-- The line below forces the rule to be rerun if the args hash has changed
checkArgsHash target
withResources rs $ do
unless verbose $ putInfo target
putInfo target
quietlyUnlessVerbose $ case builder of
Ar -> do
output <- interpret target getOutput
......@@ -59,6 +59,7 @@ customBuild rs opts target@Target {..} = do
Configure dir -> do
need [dir -/- "configure"]
-- Inject /bin/bash into `libtool`, instead of /bin/sh
let env = AddEnv "CONFIG_SHELL" "/bin/bash"
cmd Shell (EchoStdout False) [Cwd dir] [path] (env:opts) argList
......
......@@ -81,7 +81,7 @@ buildHaddock = return cmdBuildHaddock
-- this is a Predicate, hence you can enable verbose output for a chosen package
-- only, e.g.: verboseCommands = package ghcPrim
verboseCommands :: Predicate
verboseCommands = builder Configure
verboseCommands = return False
-- TODO: Replace with stage2 ? arg "-Werror"?
-- | To enable -Werror in Stage2 set turnWarningsIntoErrors = stage2.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment