Permalink
Browse files

Initialise 'jobs' in the config file with '$ncpus'.

  • Loading branch information...
1 parent 9479d54 commit 5238d82a94ec2a97d782e4f4ec0f86da611471aa @23Skidoo 23Skidoo committed Dec 13, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 cabal-install/Distribution/Client/Config.hs
@@ -44,7 +44,6 @@ import Distribution.Client.Setup
, UploadFlags(..), uploadCommand
, ReportFlags(..), reportCommand
, showRepo, parseRepo )
-import Distribution.Client.Utils (numberOfProcessors)
import Distribution.Simple.Compiler
( OptimisationLevel(..) )
@@ -211,7 +210,7 @@ initialSavedConfig = do
savedInstallFlags = mempty {
installSummaryFile = [toPathTemplate (logsDir </> "build.log")],
installBuildReports= toFlag AnonymousReports,
- installNumJobs = toFlag (Just numberOfProcessors)
+ installNumJobs = toFlag Nothing
}
}

0 comments on commit 5238d82

Please sign in to comment.