Skip to content
Snippets Groups Projects
  1. Jan 11, 2024
  2. Oct 13, 2023
  3. Oct 12, 2023
  4. Oct 06, 2023
  5. Oct 05, 2023
  6. Sep 29, 2023
  7. Sep 28, 2023
  8. Sep 25, 2023
  9. Aug 23, 2023
  10. Jul 15, 2023
  11. Jun 30, 2023
  12. Jan 20, 2023
  13. Jan 15, 2023
  14. Jan 02, 2023
  15. Dec 18, 2022
  16. Oct 31, 2022
  17. Oct 26, 2022
    • BinderDavid's avatar
      Refactor hpcmain: · 4802509c
      BinderDavid authored
      * Simplify the `helpList` function by explicitly passing the plugins to the `section` function, instead of passing the names of the plugins which then have to be looked up.
      * Split the big `dispatch` function into three smaller functions on the toplevel: `dispatch`, `dispatchOnPlugin` and `dispatchOnResponseFiles`
      4802509c
  18. Oct 24, 2022
  19. Oct 18, 2022
  20. Oct 11, 2022
  21. Oct 10, 2022
  22. Oct 09, 2022
  23. Oct 07, 2022
  24. Aug 26, 2022
  25. Aug 17, 2022
    • Peter Becich's avatar
      Implement Response File support for HPC · 5e8fd4b9
      Peter Becich authored and Matthew Pickering's avatar Matthew Pickering committed
      This is an improvement to HPC authored by Richard Wallace
      (https://github.com/purefn) and myself. I have received permission from
      him to attempt to upstream it. This improvement was originally
      implemented as a patch to HPC via input-output-hk/haskell.nix:
      https://github.com/input-output-hk/haskell.nix/pull/1464
      
      
      
      Paraphrasing Richard, HPC currently requires all inputs as command line arguments.
      With large projects this can result in an argument list too long error.
      I have only seen this error in Nix, but I assume it can occur is a plain Unix environment.
      
      This MR adds the standard response file syntax support to HPC. For
      example you can now pass a file to the command line which contains the
      arguments.
      
      ```
      hpc @response_file_1 @response_file_2 ...
      
      The contents of a Response File must have this format:
      COMMAND ...
      
      example:
      report my_library.tix --include=ModuleA --include=ModuleB
      ```
      
      Updates hpc submodule
      
      Co-authored-by: default avatarRichard Wallace <rwallace@thewallacepack.net>
      
      Fixes #22050
      5e8fd4b9
  26. May 30, 2022
    • Matthew Pickering's avatar
      hadrian: Fix building from source-dist without alex/happy · 38a0f21c
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      This fixes two bugs which were adding dependencies on alex/happy when
      building from a source dist.
      
      * When we try to pass `--with-alex` and `--with-happy` to cabal when
        configuring but the builders are not set. This is fixed by making them
        optional.
      * When we configure, cabal requires alex/happy because of the
        build-tool-depends fields. These are now made optional with a cabal
        flag (build-tool-depends) for compiler/hpc-bin/genprimopcode.
      
      Fixes #21627
      38a0f21c
Loading