Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
faa36e5b
Commit
faa36e5b
authored
Feb 28, 2020
by
Sylvain Henry
Committed by
Marge Bot
Mar 20, 2020
Browse files
Hadrian: ignore in-tree GMP objects with ``--lint``
parent
73a7383e
Pipeline
#16960
failed with stages
in 375 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
hadrian/src/Main.hs
View file @
faa36e5b
...
...
@@ -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/**"
]
}
...
...
hadrian/src/Rules/Gmp.hs
View file @
faa36e5b
...
...
@@ -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
...
...
Marge Bot
💬
@marge-bot
mentioned in merge request
!2799 (closed)
·
Mar 21, 2020
mentioned in merge request
!2799 (closed)
mentioned in merge request !2799
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment