Disable optimisation when building Cabal in development flavours

Authored by bgamari on Jun 13 2019, 3:24 PM.

Description

Disable optimisation when building Cabal in development flavours

This updates the make and Hadrian build flavours targetting developers
to disable optimisation when building the Cabal library. Cabal tends to
tickle some very bad compiler performance cases (e.g. Trac #16577) so
disabling optimisation here makes a sizeable impact on overall build
time.

See Trac #16817.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Jun 15 2019, 10:32 PM
Parents
rGHC20b4d5ecabc5: Disable optimisation when building Cabal lib for stage0
Branches
Unknown
Tags
Unknown