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
Packages
Cabal
Commits
57c35040
Commit
57c35040
authored
Sep 26, 2013
by
Mikhail Glushenkov
Browse files
Rename 'parallelBuild' to 'parallelInstall'.
parent
a66a6a16
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Install.hs
View file @
57c35040
...
...
@@ -879,12 +879,12 @@ performInstallations verbosity
-- With 'install -j' it can be a bit hard to tell whether a sandbox is used.
whenUsingSandbox
useSandbox
$
\
sandboxDir
->
when
parallel
Build
$
when
parallel
Install
$
notice
verbosity
$
"Notice: installing into a sandbox located at "
++
sandboxDir
jobControl
<-
if
parallel
Build
then
newParallelJobControl
else
newSerialJobControl
jobControl
<-
if
parallel
Install
then
newParallelJobControl
else
newSerialJobControl
buildLimit
<-
newJobLimit
numJobs
fetchLimit
<-
newJobLimit
(
min
numJobs
numFetchJobs
)
installLock
<-
newLock
-- serialise installation
...
...
@@ -906,7 +906,7 @@ performInstallations verbosity
numJobs
=
determineNumJobs
(
installNumJobs
installFlags
)
numFetchJobs
=
2
parallel
Build
=
numJobs
>=
2
parallel
Install
=
numJobs
>=
2
setupScriptOptions
index
lock
=
SetupScriptOptions
{
useCabalVersion
=
maybe
anyVersion
thisVersion
(
libVersion
miscOptions
),
...
...
@@ -930,7 +930,7 @@ performInstallations verbosity
(
configDistPref
configFlags
),
useLoggingHandle
=
Nothing
,
useWorkingDir
=
Nothing
,
forceExternalSetupMethod
=
parallel
Build
,
forceExternalSetupMethod
=
parallel
Install
,
setupCacheLock
=
Just
lock
}
reportingLevel
=
fromFlag
(
installBuildReports
installFlags
)
...
...
@@ -963,14 +963,14 @@ performInstallations verbosity
useDefaultTemplate
|
reportingLevel
==
DetailedReports
=
True
|
isJust
installLogFile'
=
False
|
parallel
Build
=
True
|
parallel
Install
=
True
|
otherwise
=
False
overrideVerbosity
::
Bool
overrideVerbosity
|
reportingLevel
==
DetailedReports
=
True
|
isJust
installLogFile'
=
True
|
parallel
Build
=
False
|
parallel
Install
=
False
|
otherwise
=
False
substLogFileName
::
PathTemplate
->
PackageIdentifier
->
FilePath
...
...
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