Skip to content

Move cGHC_UNLIT_PGM to be "unlit command" in settings -- includes !712

John Ericson requested to merge Ericson2314/ghc:remove-cGHC_UNLIT_PGML into master

The bulk of the work was done in !712 (closed), making settings be make/Hadrian controlled. This just adds a final commit that moves the unlit command rules in make/Hadrian from the Config.hs generator to the settings generator in each build system.

I think this is a good change because the crucial benefit is settings don't affect the build: ghc gets one baby step closer to being a regular cabal executable, and make/Hadrian just maintains settings as part of bootstrapping.


Please take a few moments to verify that your commits fulfill the following:

  • 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.
Edited by John Ericson

Merge request reports