Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : ghc-7.2

http://hackage.haskell.org/trac/ghc/changeset/4873d41b39693d94b9fcd7e7e2e9fe66da4fee7f

>---------------------------------------------------------------

commit 4873d41b39693d94b9fcd7e7e2e9fe66da4fee7f
Author: David Terei <[email protected]>
Date:   Wed Jul 20 16:45:58 2011 -0700

    Add an unregisterised config to build.mk

>---------------------------------------------------------------

 mk/build.mk.sample |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index a31b576..0d10ae8 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -27,6 +27,9 @@
 # A development build, working on the stage 2 compiler:
 #BuildFlavour = devel2
 
+# An unregisterised, optimised build of ghc, for porting:
+#BuildFlavour = unreg
+
 GhcLibWays = v
 
 # -------- 1. A Performance/Distribution build--------------------------------
@@ -133,6 +136,26 @@ BUILD_DOCBOOK_PDF  = NO
 
 endif
 
+# -------- A Unregisterised build) -------------------------------------------
+
+ifeq "$(BuildFlavour)" "unreg"
+
+GhcUnregisterised    = YES
+GhcWithNativeCodeGen = NO
+
+SRC_HC_OPTS          = -O -H64m
+GhcStage1HcOpts      = -O
+GhcStage2HcOpts      = -O2
+GhcHcOpts            = -Rghc-timing
+GhcLibHcOpts         = -O2
+SplitObjs            = NO
+HADDOCK_DOCS         = NO
+BUILD_DOCBOOK_HTML   = NO
+BUILD_DOCBOOK_PS     = NO
+BUILD_DOCBOOK_PDF    = NO
+
+endif
+
 # -----------------------------------------------------------------------------
 # Other settings that might be useful
 



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to