Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Backport instructions
stage1.*.ghc.hs.opts += -finfo-table-map -fdistinct-constructor-tables += -eventlog

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: Then:

  1. mkdir _build, Copy the hadrian.settings file into _build.
  2. git submodule update --init
  3. perl boot
  4. ./configure
  5. ./hadrian/ -j4

Viewing the profile

If you wish to view the profile, use eventlog2html version 0.9.0 or newer.


This comment has been minimized.

Copy link

@pepeiborra pepeiborra commented Jan 10, 2021

where does the hadrian.settings file go? I've never used Hadrian to build ghc before and the docs do not seem to mention this file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment