diff options
author | Andrey Mokhov <andrey.mokhov@gmail.com> | 2019-01-10 22:35:22 +0000 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-16 14:17:34 -0500 |
commit | bfb3e3072d25d983e2245e2cf2d491981f49549c (patch) | |
tree | 82c7a1f9ccd63e9f265dd95b91d250516e1c9ae9 /hadrian/src/Rules/Gmp.hs | |
parent | 7218270dee1067db9c4f342b97e07ca89b80b82d (diff) | |
download | haskell-bfb3e3072d25d983e2245e2cf2d491981f49549c.tar.gz |
Disable Shake Lint by default.
Diffstat (limited to 'hadrian/src/Rules/Gmp.hs')
-rw-r--r-- | hadrian/src/Rules/Gmp.hs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hadrian/src/Rules/Gmp.hs b/hadrian/src/Rules/Gmp.hs index 0194518d05..8e0d338c51 100644 --- a/hadrian/src/Rules/Gmp.hs +++ b/hadrian/src/Rules/Gmp.hs @@ -14,10 +14,9 @@ gmpObjects :: Action [FilePath] gmpObjects = do gmpPath <- gmpBuildPath need [gmpPath -/- gmpLibraryH] - -- We need to use the untracked version of 'getDirectoryFiles', because the - -- contents of 'gmpObjectsDir' is built by Hadrian (in 'gmpRules'). Using - -- the tracked version can lead to Shake Lint failure. - -- See: https://ghc.haskell.org/trac/ghc/ticket/15971. + -- The line below causes a Shake Lint failure on Windows, which forced us to + -- disable Lint by default. See more details here: + -- https://ghc.haskell.org/trac/ghc/ticket/15971. map unifyPath <$> liftIO (getDirectoryFilesIO "" [gmpPath -/- gmpObjectsDir -/- "*.o"]) |