summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorPeter Becich <peterbecich@gmail.com>2022-05-09 23:25:39 -0700
committerMatthew Pickering <matthewtpickering@gmail.com>2022-08-17 08:43:21 +0100
commit3e493dfd4db4b61ffc3f1faf7e38663118473d99 (patch)
tree9891f1b9bdb376f2233cb73ffeaf1c893e8f417a /libraries
parenta4212edccceaec475d4aca240cbfe9db98b77d33 (diff)
downloadhaskell-3e493dfd4db4b61ffc3f1faf7e38663118473d99.tar.gz
Implement Response File support for HPC
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: Richard Wallace <rwallace@thewallacepack.net> Fixes #22050
Diffstat (limited to 'libraries')
m---------libraries/hpc0
1 files changed, 0 insertions, 0 deletions
diff --git a/libraries/hpc b/libraries/hpc
-Subproject 7d400662546a262b64af49b5707db22e20b8b9d
+Subproject 76d1a0473d405e194d0c92a1cbeb6c019bbb57c