Commit faa36e5b authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

Hadrian: ignore in-tree GMP objects with ``--lint``

parent 73a7383e
Pipeline #16960 failed with stages
in 375 minutes and 39 seconds
......@@ -65,6 +65,9 @@ main = do
-- Ignore access to autom4te.cache directories.
-- They are managed externally by auto tools.
, "//autom4te.cache/**"
-- Ignore in-tree GMP objects
, buildRoot -/- "**/gmp/objs/**"
]
}
......
......@@ -22,12 +22,10 @@ gmpObjects s = do
integerGmpPath <- buildPath ctx
need [integerGmpPath -/- "include/ghc-gmp.h"]
-- The line below causes a Shake Lint failure on Windows, which forced
-- us to disable Lint by default (we don't track the object files of the
-- in-tree GMP library).
-- See more details here: https://gitlab.haskell.org/ghc/ghc/issues/15971.
gmpPath <- gmpIntreePath s
map (unifyPath . (gmpPath -/-)) <$>
-- Note we don't track the object files of the in-tree GMP library (cf
-- #15971).
liftIO (getDirectoryFilesIO gmpPath [gmpObjectsDir -/- "*.o"])
-- | Build directory for in-tree GMP library
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment