Skip to content
GitLab
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
4e96a038
Commit
4e96a038
authored
Aug 01, 2015
by
Andrey Mokhov
Browse files
Limit parallelism of ghc-cabal.
parent
7a936b63
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Rules/Data.hs
View file @
4e96a038
...
@@ -37,7 +37,8 @@ buildPackageData target = do
...
@@ -37,7 +37,8 @@ buildPackageData target = do
-- GhcCabal may run the configure script, so we depend on it
-- GhcCabal may run the configure script, so we depend on it
-- We don't know who built the configure script from configure.ac
-- We don't know who built the configure script from configure.ac
whenM
(
doesFileExist
$
configure
<.>
"ac"
)
$
need
[
configure
]
whenM
(
doesFileExist
$
configure
<.>
"ac"
)
$
need
[
configure
]
build
$
fullTarget
target
[
cabal
]
GhcCabal
files
buildWithResources
[(
ghcPkg
,
1
)]
$
-- GhcCabal calls ghc-pkg too
fullTarget
target
[
cabal
]
GhcCabal
files
whenM
(
interpretExpr
target
registerPackage
)
.
whenM
(
interpretExpr
target
registerPackage
)
.
buildWithResources
[(
ghcPkg
,
1
)]
$
buildWithResources
[(
ghcPkg
,
1
)]
$
fullTarget
target
[
cabal
]
(
GhcPkg
stage
)
files
fullTarget
target
[
cabal
]
(
GhcPkg
stage
)
files
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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