summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@mit.edu>2011-04-04 12:56:00 +0100
committerEdward Z. Yang <ezyang@mit.edu>2011-04-11 17:49:23 +0100
commitb3199f6977fdaed6f3f898aee14bd0af61140cf5 (patch)
treee2ad71e0ee7534cd42cbecbd6dac7ed34833097b /mk
parent856448e1809237ef76e66691f71fbb6a7bd62b54 (diff)
downloadhaskell-b3199f6977fdaed6f3f898aee14bd0af61140cf5.tar.gz
Flag for defaulting the codegen GhcStageXDefaultNewCodegen.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index e5b68114d3..10911e6934 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -97,6 +97,16 @@ GhcStage1HcOpts=
GhcStage2HcOpts=-O2
GhcStage3HcOpts=-O2
+# These options modify whether or not a built compiler for a bootstrap
+# stage defaults to using the new code generation path. The new
+# code generation path is a bit slower, so for development just
+# GhcStage2DefaultNewCodegen=YES, but it's also a good idea to try
+# building all libraries and the stage2 compiler with the
+# new code generator, which involves GhcStage1DefaultNewCodegen=YES.
+GhcStage1DefaultNewCodegen=NO
+GhcStage2DefaultNewCodegen=NO
+GhcStage3DefaultNewCodegen=NO
+
GhcDebugged=NO
GhcDynamic=NO