Hadrian: Temporary workaround for the Shake Lint failure on Windows
See https://ghc.haskell.org/trac/ghc/ticket/15971.
-
Switch to the untracked version of getDirectoryFiles when scanning for GMP objects. Note that Neil suggests (in the ticket discussion) that this step is unnecessary, but we do it anyway to remove the doubt that we may be misusing tracking.
-
Disable Shake Lint by default. Hadrian developers can still run Lint locally by passing the flag
--lint
to Hadrian. We can switch back to running Lint by default when the ticket 15971 is resolved.