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
4b7ccf4e
Commit
4b7ccf4e
authored
Sep 22, 2016
by
Mikhail Glushenkov
Committed by
GitHub
Sep 22, 2016
Browse files
Merge pull request #3884 from 23Skidoo/print-num-jobs
Print the number of jobs we're using.
parents
c7852b5a
6b44e7b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Install.hs
View file @
4b7ccf4e
...
...
@@ -1072,6 +1072,7 @@ performInstallations verbosity
when
parallelInstall
$
notice
verbosity
$
"Notice: installing into a sandbox located at "
++
sandboxDir
info
verbosity
$
"Using "
++
(
show
numJobs
)
++
" threads."
jobControl
<-
if
parallelInstall
then
newParallelJobControl
numJobs
else
newSerialJobControl
...
...
cabal-install/Distribution/Client/ProjectOrchestration.hs
View file @
4b7ccf4e
...
...
@@ -81,7 +81,8 @@ import Distribution.Simple.Setup (HaddockFlags)
import
qualified
Distribution.Simple.Setup
as
Setup
import
Distribution.Simple.Command
(
commandShowOptions
)
import
Distribution.Simple.Utils
(
die
,
notice
,
noticeNoWrap
,
debug
)
import
Distribution.Simple.Utils
(
die
,
info
,
notice
,
noticeNoWrap
,
debug
)
import
Distribution.Verbosity
import
Distribution.Text
...
...
@@ -176,7 +177,8 @@ runProjectPreBuildPhase
(
projectConfigShared
projectConfig
)
(
projectConfigBuildOnly
projectConfig
)
(
projectConfigBuildOnly
cliConfig
)
info
verbosity
$
"Using "
++
(
show
.
buildSettingNumJobs
$
buildSettings
)
++
" threads."
-- The plan for what to do is represented by an 'ElaboratedInstallPlan'
-- Now given the specific targets the user has asked for, decide
...
...
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