Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Jun 24, 2024
  2. Jun 23, 2024
  3. Jun 21, 2024
  4. Jun 18, 2024
    • mergify[bot]'s avatar
      Depend on tar-0.6.3.0 (backport #10120) (#10123) · f54d0dc0
      mergify[bot] authored
      
      * Bump index state to allow tar-0.6.3.0
      
      tar-0.6.3.0 has much improved performance of deserialising .tar index
      which has significant ramifications for the start-up time of
      cabal-install.
      
      See #10110
      
      (cherry picked from commit 827256a5)
      
      * Update bootstrap plans to include tar-0.6.3
      
      Using the updated version of this library improves performance of
      cabal-install so it's worthwhile to make sure the bootstrap plans use
      this version.
      
      (cherry picked from commit 4d787e1b)
      
      # Conflicts:
      #	bootstrap/linux-8.10.7.json
      #	bootstrap/linux-9.0.2.json
      #	bootstrap/linux-9.2.8.json
      #	bootstrap/linux-9.4.8.json
      #	bootstrap/linux-9.6.4.json
      #	bootstrap/linux-9.8.2.json
      
      * fixup! Update bootstrap plans to include tar-0.6.3
      
      ---------
      
      Co-authored-by: default avatarMatthew Pickering <matthewtpickering@gmail.com>
      Co-authored-by: Brandon S. Allbery's avatarbrandon s allbery kf8nh <allbery.b@gmail.com>
      Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
      f54d0dc0
    • mergify[bot]'s avatar
      perf: Group together packages by repo when verifying tarballs (#10121) · a29092e4
      mergify[bot] authored
      
      verifyFetchedTarball has the effect of deserialising the index tarball
      (see call to Sec.withIndex).
      
      verifyFetchedTarball is called individually for each package in the
      build plan (see ProjectPlanning.hs). Not once per repo.
      
      The hackage tarball is now 880mb so it takes a non significant amount of
      time to deserialise this (much better after haskell/tar#95).
      
      This code path is important as it can add 1s with these 38 calls on to
      the initial load of a project and scales linearly with the size of your
      build tree.
      
      Reproducer: Simple project with "lens" dependency deserialises the index tarball 38 times.
      
      Solution: Refactor verifyFetchedTarball to run once per repo rather than once per package.
      
      In future it would be much better to refactor this function so that the
      items are not immediately grouped and ungrouped but I didn't want to
      take that on immediately.
      
      Fixes #10110
      
      (cherry picked from commit 7d46115b)
      
      Co-authored-by: default avatarMatthew Pickering <matthewtpickering@gmail.com>
      a29092e4
  5. Jun 16, 2024
  6. Jun 15, 2024
  7. Jun 14, 2024
  8. Jun 13, 2024
  9. Jun 12, 2024
    • mergify[bot]'s avatar
      add the applicable new (version 9.10) GHC flags to normaliseGhcArgs (backport #10014) (#10106) · a147f1b4
      mergify[bot] authored
      
      * add the applicable new (version 9.10) GHC flags to normaliseGhcArgs (#10014)
      
      * add the applicable new (versions 9.2 - 9.10) GHC flags to normaliseGhcArgs
      
      Actionable flags are:
      - fdiagnostics-as-json (changes the format GHC outputs its diagnostics)
      - fprint-error-index-lists (changes the way GHC displays compile time)
      - fbreak-points (enables/disables break-points in GHCi)
      - dipe-stats (dumps information about which info tables have IPE
        information)
      - ffamily-application-cache (only changes the speed of the compiler)
      - fprint-redundant-promotion-ticks
      - show-error-context
      - unoptimized-core-for-interpreter (only applies to GHCi)
      
      * [chore] correct the flag names and add a FUTUREWORK
      
      (cherry picked from commit be10be83)
      
      # Conflicts:
      #	Cabal/src/Distribution/Simple/Program.hs
      
      * fixup! add the applicable new (version 9.10) GHC flags to normaliseGhcArgs (#10014)
      
      ---------
      
      Co-authored-by: default avatarMango The Fourth <40720523+MangoIV@users.noreply.github.com>
      Co-authored-by: Brandon S. Allbery's avatarbrandon s allbery kf8nh <allbery.b@gmail.com>
      a147f1b4
  10. Jun 11, 2024
  11. Jun 08, 2024
  12. Jun 07, 2024
  13. Jun 06, 2024
  14. Jun 03, 2024
  15. May 31, 2024
  16. May 30, 2024
  17. May 23, 2024
  18. May 22, 2024
Loading