This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 24 Jun, 2012 8 commits
    • Duncan Coutts's avatar
      Parallelise the install command This is based on Mikhail Glushenkov's patches. · 43e5c8f1
      Duncan Coutts authored
      It adds a '-j N' (= 'number of jobs') option for the 'install' command, which
      can be used to specify the number of concurrent workers. If possible, at most
      N packages will be built concurrently.
      
      This version of the patch is less featureful than Mikhail's version but also
      rather simpler. The key difference compared to Mikhail's version is that this
      version is lacking the output serialisation and the ability to tag each output
      message with the task it came from. All output is interleaved. The next step
      will be to make parallel builds log to files rather than the console and only
      to display a summary on the console.
      
      In addition to not having to change the output functions, the code is a bit
      simpler by keep the structure of the code the same as before, rather than
      splitting it into a number of concurrent tasks with channels. Instead each
      task simply executes the same pattern of install actions and concurrency
      limits are enforced using semaphores.
      43e5c8f1
    • refold's avatar
      InstallPlan: Add a Processing package state. · b0999460
      refold authored
      We don't want 'InstallPlan.ready' to return packages that are currently
      being processed in other threads.
      b0999460
    • refold's avatar
      Add a '-j' flag for the 'install' command. · f69ff1b0
      refold authored
      f69ff1b0
    • refold's avatar
      Make a diagnostic more clear. · 2c92e046
      refold authored
      It can be non-obvious why a package is registered more than once.
      2c92e046
    • refold's avatar
      Add -threaded and -rtsopts to cabal-install's ghc-options. · f212b3eb
      refold authored
      We don't want FFI calls to block all Haskell threads, so we need to use the
      threaded runtime; -rtsopts is for experimenting with the number of capabilities.
      f212b3eb
    • refold's avatar
      Fix a typo (s/reative/relative/). · 09f98a55
      refold authored
      09f98a55
    • refold's avatar
      Warn when 'cpp-options: -Idir' is used instead of 'include-dirs: dir'. · 63d0242b
      refold authored
      I'm looking at you, ansi-terminal.
      63d0242b
    • refold's avatar
      Fix typos. · 0f24df0f
      refold authored
      0f24df0f
  2. 20 Jun, 2012 4 commits
  3. 19 Jun, 2012 1 commit
  4. 17 Jun, 2012 1 commit
  5. 14 Jun, 2012 2 commits
  6. 06 Jun, 2012 3 commits
  7. 31 May, 2012 3 commits
  8. 19 May, 2012 2 commits
  9. 16 May, 2012 1 commit
  10. 15 May, 2012 1 commit
  11. 14 May, 2012 1 commit
  12. 11 May, 2012 1 commit
    • pcapriotti's avatar
      Adapt to change in GHC package db flags. · 9e030da8
      pcapriotti authored
      GHC and ghc-pkg package db flags changed from '*-package-conf' to
      '*-package-db' in 7.5.  This commit follows the change and introduces a
      version check whenever those flags are used.
      9e030da8
  13. 07 May, 2012 1 commit
  14. 28 Apr, 2012 5 commits
  15. 25 Apr, 2012 1 commit
  16. 22 Apr, 2012 5 commits