Turn on optimisation for stage2 when validating
authorIan Lynagh <igloo@earth.li>
Thu, 28 Aug 2008 14:23:20 +0000 (14:23 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 28 Aug 2008 14:23:20 +0000 (14:23 +0000)
This brings my validate down from 22mins to 16 mins.
Compiling stage2 takes longer, but we gain a faster haddock, faster
running of the tests, and faster building of the utils to be installed.

mk/validate-settings.mk

index 83995e5..2ad1546 100644 (file)
@@ -6,7 +6,7 @@ SRC_CC_OPTS     = $(WERROR)
 SRC_HC_OPTS     = $(WERROR) -H64m -O0 -fasm
 GhcStage1HcOpts = -O -fasm
 
-GhcStage2HcOpts = -O0 -fasm
+GhcStage2HcOpts = -O -fasm
 GhcLibHcOpts    = -O -fasm -dcore-lint
 GhcLibWays      =
 SplitObjs       = NO