[Git][ghc/ghc][master] 2 commits: hadrian: enable -fprof-late only for profiling ways
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Fri Sep 16 17:58:24 UTC 2022
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
88c4cbdb by Cheng Shao at 2022-09-16T13:57:56-04:00
hadrian: enable -fprof-late only for profiling ways
- - - - -
d7235831 by Cheng Shao at 2022-09-16T13:57:56-04:00
hadrian: add late_ccs flavour transformer
- - - - -
1 changed file:
- hadrian/src/Flavour.hs
Changes:
=====================================
hadrian/src/Flavour.hs
=====================================
@@ -56,6 +56,7 @@ flavourTransformers = M.fromList
, "debug_stage1_ghc" =: debugGhc stage0InTree
, "lint" =: enableLinting
, "haddock" =: enableHaddock
+ , "late_ccs" =: enableLateCCS
]
where (=:) = (,)
@@ -237,6 +238,7 @@ enableIPE = addArgs
enableLateCCS :: Flavour -> Flavour
enableLateCCS = addArgs
$ notStage0 ? builder (Ghc CompileHs)
+ ? ((Profiling `wayUnit`) <$> getWay)
? arg "-fprof-late"
-- | Enable assertions for the stage2 compiler
@@ -525,4 +527,3 @@ builderSetting =
stages = map (\stg -> (stageString stg, stg)) allStages
pkgs = map (\pkg -> (pkgName pkg, pkg)) (ghcPackages ++ userPackages)
-
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/7cce70073f5017cf5514f92a900c76e47a4292a5...d7235831724dffdc203b8d87bb4d376546eeb883
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/7cce70073f5017cf5514f92a900c76e47a4292a5...d7235831724dffdc203b8d87bb4d376546eeb883
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220916/777ff99d/attachment-0001.html>
More information about the ghc-commits
mailing list