diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-09-22 14:13:09 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-09-28 01:53:36 -0400 |
commit | 219f7f5060e64f5f88e65019daa1811342e8b8af (patch) | |
tree | 49e06af76425dc2547f6e94b275a29d295b0b42a /hadrian/src/Rules.hs | |
parent | 1935c42ffb2db800c03ed6b3876eee27a96e9b69 (diff) | |
download | haskell-219f7f5060e64f5f88e65019daa1811342e8b8af.tar.gz |
hadrian: Remove deprecated tracing functions
Diffstat (limited to 'hadrian/src/Rules.hs')
-rw-r--r-- | hadrian/src/Rules.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Rules.hs b/hadrian/src/Rules.hs index 99cf293c99..67646a8689 100644 --- a/hadrian/src/Rules.hs +++ b/hadrian/src/Rules.hs @@ -39,14 +39,14 @@ topLevelTargets :: Rules () topLevelTargets = action $ do verbosity <- getVerbosity forM_ [ Stage1 ..] $ \stage -> do - when (verbosity >= Loud) $ do + when (verbosity >= Verbose) $ do (libraries, programs) <- partition isLibrary <$> stagePackages stage libNames <- mapM (name stage) libraries pgmNames <- mapM (name stage) programs let stageHeader t ps = "| Building " ++ show stage ++ " " ++ t ++ ": " ++ intercalate ", " ps - putNormal . unlines $ + putInfo . unlines $ [ stageHeader "libraries" libNames , stageHeader "programs" pgmNames ] let buildStages = [ s | s <- [Stage0 ..], s < finalStage ] |