These instructions will tell you how to build GHC 8.10.2 with support for the -hi
, -finfo-table-map
and -fdistinct-constructor-tables
flags.
First checkout this GHC Branch: https://gitlab.haskell.org/mpickering/ghc/-/commits/ghc-con-info-backport. Then:
mkdir _build
, Copy thehadrian.settings
file into_build
.git submodule update --init
perl boot
./configure
./hadrian/build.cabal.sh -j4
If you wish to view the profile, use eventlog2html
version 0.9.0 or newer.
Found it https://gitlab.haskell.org/mpickering/ghc/-/blob/ghc-con-info-backport/hadrian/doc/user-settings.md