diff options
author | David Eichmann <EichmannD@gmail.com> | 2019-07-18 17:18:45 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-01 16:55:33 -0400 |
commit | 0956c1941bbd80fb6218b4ddeb0e9bd822d71855 (patch) | |
tree | d5327861d358a26bb91c4bc2b6342d3d9978058a /hadrian | |
parent | 9a27a06380fd706e0f2e040c4f01ae306bfd062b (diff) | |
download | haskell-0956c1941bbd80fb6218b4ddeb0e9bd822d71855.tar.gz |
Hadrian: do not cache GHC configure rule
Diffstat (limited to 'hadrian')
-rw-r--r-- | hadrian/src/Rules/Configure.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hadrian/src/Rules/Configure.hs b/hadrian/src/Rules/Configure.hs index fd56b4511a..931801be5d 100644 --- a/hadrian/src/Rules/Configure.hs +++ b/hadrian/src/Rules/Configure.hs @@ -19,6 +19,10 @@ configureResults = configureRules :: Rules () configureRules = do configureResults &%> \outs -> do + -- Do not cache the results. The true dependencies of the configure + -- script are not tracked. This includes e.g. the ghc source path. + historyDisable + skip <- not <$> cmdConfigure if skip then unlessM (doesFileExist configFile) $ |