~/talk

Getting Up and Running, and Contributing to GHC

links:none on file
slides:none on file

Walks through building GHC from source with Hadrian: install an older bootstrap GHC, run the autoconf boot and configure step, then invoke the Build script under hadrian/Build (use -j for parallelism). Explains the four-stage pipeline (stage0→stage1→stage2→stage3), build flavours like quick vs perf, and tricks like freeze1 and Hadrian/GHCi. Shows running tests via --only, demonstrates fixing a Template Haskell bug by adding a failing test, committing a patch, and opening a GitLab merge request that CI then validates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45About Me
  3. 3:12Why Should You Contribute
  4. 5:25Linux
  5. 7:47Build System
  6. 8:32Run Hadrian
  7. 12:44Build Stages
  8. 20:22Build Flavours
  9. 24:58User Settings
  10. 27:11Other Tips
  11. 30:38Running Tests
  12. 33:23Source Code Structure
  13. 38:31Conventions
  14. 44:00Compiler
  15. 51:20Why SDG
  16. 53:30CMM
  17. 55:45Core
  18. 58:17STG CMM
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.