Disable optimisation when building Cabal in development flavours
authorBen Gamari <ben@smart-cactus.org>
Thu, 13 Jun 2019 20:24:10 +0000 (16:24 -0400)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Sun, 16 Jun 2019 03:32:38 +0000 (23:32 -0400)
commit76b7f619385ac5d126dd186ff3bfe4cdad9349e7
treebee521646ba2811ea09463d06686cdc7e760d018
parent20b4d5ecabc59062b7a841ce20b631364d8f8645
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. #16577) so
disabling optimisation here makes a sizeable impact on overall build
time.

See #16817.
hadrian/cabal.project
hadrian/src/Settings/Flavours/Development.hs
mk/flavours/devel1.mk
mk/flavours/devel2.mk
mk/flavours/validate.mk