diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-01-10 12:10:59 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-01-26 19:45:58 -0500 |
commit | c61ac4d86f8b0746eae1ee3783f758ececc950be (patch) | |
tree | 4bcf0b1021bcd6d7e446666a56942a276eb669bb | |
parent | 590a2918d815edd184a1665e361640a29674cbf3 (diff) | |
download | haskell-c61ac4d86f8b0746eae1ee3783f758ececc950be.tar.gz |
alwaysRerun generation of ghcconfig
This file needs to match exactly what is passed as the testCompiler.
Before this change the settings for the first compiler to be tested
woudl be stored and not regenerated if --test-compiler changed.
-rw-r--r-- | hadrian/src/Rules/Test.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs index 7739eb050a..bab8417924 100644 --- a/hadrian/src/Rules/Test.hs +++ b/hadrian/src/Rules/Test.hs @@ -103,6 +103,7 @@ testRules = do (if dynPrograms then ["-dynamic"] else []) root -/- ghcConfigPath %> \_ -> do + alwaysRerun args <- userSetting defaultTestArgs let testGhc = testCompiler args stg = stageOf testGhc |