diff options
author | Sebastian Graf <sebastian.graf@kit.edu> | 2021-02-24 12:47:21 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-02-26 16:24:26 -0500 |
commit | 98cb9402cf197262f28ea4a7fd7beca9089d53c0 (patch) | |
tree | 5bdff03dd2c943b66ac20df722251e4c1a6fa93f | |
parent | bc12e7ecfc9f1792bf3f97e676383d83bb55ffc1 (diff) | |
download | haskell-98cb9402cf197262f28ea4a7fd7beca9089d53c0.tar.gz |
hadrian: ticky_ghc should build all things with -ticky (#19405) [skip ci]
With this patch, everything built by the stage1 compiler (in a
`ticky_ghc`-transformed flavour) will be built with `-ticky`.
Fixes #19405.
-rw-r--r-- | hadrian/src/Flavour.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs index 7339eb6fb1..3f2b30352e 100644 --- a/hadrian/src/Flavour.hs +++ b/hadrian/src/Flavour.hs @@ -156,12 +156,11 @@ enableDebugInfo = addArgs $ notStage0 ? mconcat -- | Enable the ticky-ticky profiler in stage2 GHC enableTickyGhc :: Flavour -> Flavour enableTickyGhc = - addArgs $ foldMap enableTickyFor [ghc, compiler, base] - where - enableTickyFor pkg = stage1 ? package pkg ? mconcat + addArgs $ stage1 ? mconcat [ builder (Ghc CompileHs) ? ticky , builder (Ghc LinkHs) ? ticky ] + where ticky = mconcat [ arg "-ticky" , arg "-ticky-allocd" |