Permalink
Commits on Jun 25, 2012
  1. Add the missing JobControl module

    Needed for the parallel builds.
    Duncan Coutts committed Jun 25, 2012
  2. Fix missing import after merge of par build patches

    dcoutts committed with Duncan Coutts Jun 25, 2012
  3. Remove use of bogus mingw32_TARGET_OS cpp define

    dcoutts committed with Duncan Coutts May 25, 2012
  4. Add a check for -fdefer-type-errors

    It should not be used in packages ready for being distributed.
    dcoutts committed with Duncan Coutts May 13, 2012
  5. Fix impl of PackageIndex.allPackagesByName

    Fixes the problem with generating the haddock documentation contents page for
    all installed packages. Previously we were (accidentally) telling haddock to
    use all versions of each package and haddock would pick the first (lowest
    version). Now we correctly do what we were trying to do all along, which is
    to pick only the highest version of each package.
    dcoutts committed with Duncan Coutts Apr 23, 2012
Commits on Jun 24, 2012
  1. Parallelise the install command This is based on Mikhail Glushenkov's…

    … patches.
    
    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.
    dcoutts committed with Duncan Coutts Jun 22, 2012
  2. InstallPlan: Add a Processing package state.

    We don't want 'InstallPlan.ready' to return packages that are currently
    being processed in other threads.
    23Skidoo committed with Duncan Coutts Jul 18, 2011
  3. Add a '-j' flag for the 'install' command.

    23Skidoo committed with Duncan Coutts Mar 28, 2012
  4. Make a diagnostic more clear.

    It can be non-obvious why a package is registered more than once.
    23Skidoo committed with Duncan Coutts Mar 28, 2012
  5. Add -threaded and -rtsopts to cabal-install's ghc-options.

    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.
    23Skidoo committed with Duncan Coutts Mar 28, 2012
  6. Fix a typo (s/reative/relative/).

    23Skidoo committed with Duncan Coutts Aug 20, 2011
  7. Warn when 'cpp-options: -Idir' is used instead of 'include-dirs: dir'.

    I'm looking at you, ansi-terminal.
    23Skidoo committed with Duncan Coutts Aug 5, 2011
  8. Fix typos.

    23Skidoo committed with Duncan Coutts Jun 30, 2011
Commits on Jun 20, 2012
  1. Redundant imports.

    23Skidoo committed Jun 20, 2012
  2. Fix warnings.

    23Skidoo committed Jun 17, 2012
  3. 80-col violation.

    23Skidoo committed Jun 17, 2012
  4. Spelling.

    23Skidoo committed Jun 17, 2012
Commits on Jun 19, 2012
  1. Follow changes in base

    igfoo committed Jun 19, 2012
Commits on Jun 17, 2012
  1. Follow Win64 changes in GHC

    igfoo committed Jun 17, 2012
Commits on Jun 14, 2012
  1. Fix warnings.

    23Skidoo committed Jun 14, 2012
Commits on Jun 6, 2012
  1. Extended a comment.

    kosmikus committed Jun 6, 2012
  2. Force the log for the error to be printed in parallel with the comple…

    …te trace.
    
    This saves a bit of heap space when running the solver with unlimited
    backtracking enabled.
    kosmikus committed Jun 6, 2012
  3. Remove goal choice nodes after reordering is completed.

    This saves a lot of heap space while exploring the tree and backtracking.
    kosmikus committed Jun 6, 2012
Commits on May 31, 2012
Commits on May 19, 2012
  1. Define *_HOST_OS and *_HOST_ARCH variables when defining __GLASGOW_HA…

    …SKELL__
    
    In particular, this fixes building haskeline with its windows_cconv.h
    header.
    igfoo committed May 19, 2012
Commits on May 16, 2012
  1. Merge pull request #7 from pcapriotti/master

    Fix cabal-install build.
    kosmikus committed May 16, 2012
Commits on May 15, 2012
  1. Fix cabal-install build.

    pcapriotti committed May 15, 2012
Commits on May 14, 2012
  1. Merge pull request #6 from pcapriotti/master

    Adapt to package-conf -> package-db change
    dcoutts committed May 14, 2012
Commits on May 11, 2012
  1. Adapt to change in GHC package db flags.

    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.
    pcapriotti committed May 4, 2012
Commits on May 7, 2012
  1. Merge pull request #1 from iustin/master

    Add support for the Apache license
    kosmikus committed May 7, 2012