[commit: ghc] wip/angerman/win32-cross: Adds quick-cross-ncg flavour. (8ba60b4)
git at git.haskell.org
git at git.haskell.org
Mon Feb 26 06:12:59 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/angerman/win32-cross
Link : http://ghc.haskell.org/trac/ghc/changeset/8ba60b4f1832ef9314c2845ee02984300232082c/ghc
>---------------------------------------------------------------
commit 8ba60b4f1832ef9314c2845ee02984300232082c
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date: Wed Feb 21 16:41:26 2018 +0800
Adds quick-cross-ncg flavour.
>---------------------------------------------------------------
8ba60b4f1832ef9314c2845ee02984300232082c
mk/build.mk.sample | 7 +++++--
mk/flavours/{quick-cross.mk => quick-cross-ncg.mk} | 4 ++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 958cea7..100cd07 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -22,8 +22,11 @@
# Fast build with optimised libraries, no profiling, with LLVM:
#BuildFlavour = quick-llvm
-# Fast build configured for a cross compiler
-#BuildFlavour = quick-cross
+# Fast build configured for a cross compiler (using the LLVM backend)
+#BuildFlavour = quick-cross
+
+# Fast build configured for a cross compiler (using the NCG backend)
+#BuildFlavour = quick-cross-ncg
# Even faster build. NOT RECOMMENDED: the libraries will be
# completely unoptimised, so any code built with this compiler
diff --git a/mk/flavours/quick-cross.mk b/mk/flavours/quick-cross-ncg.mk
similarity index 85%
copy from mk/flavours/quick-cross.mk
copy to mk/flavours/quick-cross-ncg.mk
index f0f00d2..97352cc 100644
--- a/mk/flavours/quick-cross.mk
+++ b/mk/flavours/quick-cross-ncg.mk
@@ -1,7 +1,7 @@
SRC_HC_OPTS = -O0 -H64m
GhcStage1HcOpts = -O
-GhcStage2HcOpts = -O0 -fllvm
-GhcLibHcOpts = -O -fllvm
+GhcStage2HcOpts = -O0
+GhcLibHcOpts = -O
BUILD_PROF_LIBS = NO
SplitObjs = NO
SplitSections = NO
More information about the ghc-commits
mailing list