summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-01-10 12:10:59 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-26 19:45:58 -0500
commitc61ac4d86f8b0746eae1ee3783f758ececc950be (patch)
tree4bcf0b1021bcd6d7e446666a56942a276eb669bb
parent590a2918d815edd184a1665e361640a29674cbf3 (diff)
downloadhaskell-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.hs1
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