Skip to content
Snippets Groups Projects
  1. Mar 22, 2023
  2. Mar 21, 2023
  3. Mar 17, 2023
  4. Mar 16, 2023
    • sheaf's avatar
      ghci: only keep the GlobalRdrEnv in ModInfo · 19d6d039
      sheaf authored
      The datatype GHC.UI.Info.ModInfo used to store a ModuleInfo,
      which includes a TypeEnv. This can easily cause space leaks as we
      have no way of forcing everything in a type environment.
      
      In GHC, we only use the GlobalRdrEnv, which we can force completely.
      So we only store that instead of a fully-fledged ModuleInfo.
      19d6d039
    • Ben Gamari's avatar
      configure: Fix FIND_CXX_STD_LIB test on Darwin · 6e3ce9a4
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      Annoyingly, Darwin's <cstddef> includes <version> and APFS is
      case-insensitive. Consequently, it will end up #including the
      `VERSION` file generated by the `configure` script on the second
      and subsequent runs of the `configure` script.
      
      See #23116.
      6e3ce9a4
    • Teo Camarasu's avatar
      Add changelog entry for #23049 · 5ddbf5ed
      Teo Camarasu authored and Marge Bot's avatar Marge Bot committed
      5ddbf5ed
    • Teo Camarasu's avatar
      Fix BCO creation setting caps when -j > -N · c9c26cd6
      Teo Camarasu authored and Marge Bot's avatar Marge Bot committed
      * Remove calls to 'setNumCapabilities' in 'createBCOs'
      These calls exist to ensure that 'createBCOs' can benefit from
      parallelism. But this is not the right place to call
      `setNumCapabilities`. Furthermore the logic differs from that in the
      driver causing the capability count to be raised and lowered at each TH
      call if -j > -N.
      
      * Remove 'BCOOpts'
      No longer needed as it was only used to thread the job count down to `createBCOs`
      
      Resolves #23049
      c9c26cd6
  5. Mar 14, 2023
  6. Mar 13, 2023
  7. Mar 11, 2023
  8. Mar 10, 2023
  9. Mar 09, 2023
    • Apoorv Ingle's avatar
      Fixes #19627. · 9ea719f2
      Apoorv Ingle authored and Marge Bot's avatar Marge Bot committed
      Previously the solver failed with an unhelpful "solver reached too may iterations" error.
      With the fix for #21909 in place we no longer have the possibility of generating such an error if we have `-fconstraint-solver-iteration` > `-fgivens-fuel > `-fwanteds-fuel`. This is true by default, and the said fix also gives programmers a knob to control how hard the solver should try before giving up.
      
      This commit adds:
      * Reference to ticket #19627 in the Note [Expanding Recursive Superclasses and ExpansionFuel]
      * Test `typecheck/should_fail/T19627.hs` for regression purposes
      9ea719f2
    • Luite Stegeman's avatar
      Delete created temporary subdirectories at end of session. · f97c7f6d
      Luite Stegeman authored and Marge Bot's avatar Marge Bot committed
      This patch adds temporary subdirectories to the list of
      paths do clean up at the end of the GHC session. This
      fixes warnings about non-empty temporary directories.
      
      Fixes #22952
      f97c7f6d
  10. Mar 08, 2023
Loading