Skip to content

Compile Stage0 HsInstances and DynFlags with -O0 (fixes #16936)

Jess requested to merge (removed):hadrian-optimisation into master

Currently a lot time is wasted in Stage0 of the Hadrian build process to compile HsInstances and DynFlags with -O1. This change causes them to be compiled with -O0 instead, significantly reducing the overall build time of GHC, as outlined in #16936 (closed). This change should leave the Stage1+ binary outputs untouched.

Merge request reports