diff options
author | Alp Mestanogullari <alpmestan@gmail.com> | 2020-04-08 09:24:55 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-05-13 20:03:30 -0400 |
commit | d7e0b57fda289e2715e7be86d4871503e3c09ee8 (patch) | |
tree | 455eec9a46863ab42a78775c9a6d3843e8115378 /hadrian/src/Main.hs | |
parent | 55e35c0b7e0f4b907dc21d42827b1cea4317226e (diff) | |
download | haskell-d7e0b57fda289e2715e7be86d4871503e3c09ee8.tar.gz |
hadrian: add a --freeze2 option to freeze stage 1 and 2
Diffstat (limited to 'hadrian/src/Main.hs')
-rw-r--r-- | hadrian/src/Main.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hadrian/src/Main.hs b/hadrian/src/Main.hs index 36b1fd3cc1..632b742624 100644 --- a/hadrian/src/Main.hs +++ b/hadrian/src/Main.hs @@ -30,7 +30,12 @@ main = do BuildRoot buildRoot = CommandLine.lookupBuildRoot argsMap rebuild = [ (RebuildLater, buildRoot -/- "stage0/**") - | CommandLine.lookupFreeze1 argsMap ] + | CommandLine.lookupFreeze1 argsMap || + CommandLine.lookupFreeze2 argsMap + ] ++ + [ (RebuildLater, buildRoot -/- "stage1/**") + | CommandLine.lookupFreeze2 argsMap + ] cwd <- getCurrentDirectory shakeColor <- shouldUseColor |