Skip to content

make it easier to build `hpc-bin`

Peter Becich requested to merge peterbecich/ghc:hpc-utils-cabal-project into master
  • are either individually buildable or squashed
  • have commit messages which describe what they do (referring to Notes and tickets using #NNNN syntax when appropriate)
  • have added source comments describing your change. For larger changes you likely should add a Note and cross-reference it from the relevant places.
  • add a testcase to the testsuite.
  • replace this message with a description motivating your change

Previously hpc-bin could be built with make. I think this built everything else in the repository in addition to hpc-bin.

I think hpc-bin can be built more easily and faster with this cabal.project file. cabal build succeeds.

The hpc dependency of hpc-bin is provided: https://gitlab.haskell.org/peterbecich/ghc/blob/6e519a3fcf40038da001872439a46c96d2c3a900/utils/hpc/cabal.project#L3-6

It is identical to the hpc dependency provided by Git submodule; these are pinned to the same commit: https://gitlab.haskell.org/peterbecich/ghc/blob/6e519a3fcf40038da001872439a46c96d2c3a900/.gitmodules#L61-64

Edited by Peter Becich

Merge request reports