Permalink
Commits on Jun 29, 2012
  1. Remove 'tryCachedSetupExecutable'.

    23Skidoo committed Jun 29, 2012
    The function is very short and the name doesn't communicate clearly what it
    does.
  2. Redundant import.

    23Skidoo committed Jun 29, 2012
Commits on Jun 28, 2012
  1. Comments, cosmetic changes.

    23Skidoo committed Jun 28, 2012
  2. Implement the setup executable cache.

    23Skidoo committed Jun 28, 2012
    Significantly speeds up parallel builds.
Commits on Jun 25, 2012
  1. Add the missing JobControl module

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

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

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

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

    dcoutts authored and Duncan Coutts committed Apr 23, 2012
    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.
Commits on Jun 24, 2012
  1. Drop the "ghc-options: -rtsopts" on cabal-install. We do not need it.

    dcoutts authored and Duncan Coutts committed Jun 22, 2012
  2. Parallelise the install command This is based on Mikhail Glushenkov's…

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

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

    23Skidoo authored and Duncan Coutts committed Mar 28, 2012
  5. Make a diagnostic more clear.

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

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

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

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

    23Skidoo authored and Duncan Coutts committed 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…

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

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

    igfoo committed May 19, 2012
    …SKELL__
    
    In particular, this fixes building haskeline with its windows_cconv.h
    header.