summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-05-04 17:19:21 -0500
committerAustin Seipp <aseipp@pobox.com>2013-05-04 17:19:24 -0500
commitc041b6205936ce32dba0c7a41332650ee6d2daab (patch)
treeb66f74abd079e68201aec4b60e03744d2a204fde /mk
parent71aaa3f2aec288ab05fd60cce73b9633a015ab6b (diff)
downloadhaskell-c041b6205936ce32dba0c7a41332650ee6d2daab.tar.gz
Reorganize mk/build.mk.sample a little.
People are probably more likely to notice some useful variables if they're located closer to the top (like V=0 and stage=2.) Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk.sample44
1 files changed, 23 insertions, 21 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index e1355cd150..4a84f8fc42 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -5,6 +5,7 @@
# overall build type, and then tweak the options in the relevant section
# below.
+# -------- Build profiles -----------------------------------------------------
# Uncomment one of these to select a build profile below:
# Full build with max optimisation and everything enabled (very slow build)
@@ -33,13 +34,24 @@
# A development build, working on the stage 2 compiler:
#BuildFlavour = devel2
-GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v)
+# -------- Miscellaneous variables --------------------------------------------
-# Uncomment this to get prettier build output.
+# Set to V = 0 to get prettier build output.
# Please use V = 1 when reporting GHC bugs.
-# V = 0
+V = 1
+
+# After stage 1 and the libraries have been built, you can uncomment this line:
+
+#stage=2
+
+# Then stage 1 will not be touched by the build system, until
+# you comment the line again. This is a useful trick for when you're
+# working on stage 2 and want to freeze stage 1 and the libraries for
+# a while.
+
+GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v)
-# -------- 1. A Performance/Distribution build--------------------------------
+# ----------- A Performance/Distribution build --------------------------------
ifeq "$(BuildFlavour)" "perf"
@@ -58,7 +70,7 @@ endif
endif
-# ---------------- Perf build using LLVM -------------------------------------
+# ---------------- Perf build using LLVM --------------------------------------
ifeq "$(BuildFlavour)" "perf-llvm"
@@ -75,7 +87,7 @@ endif
endif
-# -------- A Fast build ------------------------------------------------------
+# -------- A Fast build -------------------------------------------------------
ifeq "$(BuildFlavour)" "quickest"
@@ -91,7 +103,7 @@ BUILD_DOCBOOK_PDF = NO
endif
-# -------- A Fast build with optimised libs ----------------------------------
+# -------- A Fast build with optimised libs -----------------------------------
ifeq "$(BuildFlavour)" "quick"
@@ -107,7 +119,7 @@ BUILD_DOCBOOK_PDF = NO
endif
-# -------- A Fast build with optimised libs using LLVM -----------------------
+# -------- A Fast build with optimised libs using LLVM ------------------------
ifeq "$(BuildFlavour)" "quick-llvm"
@@ -123,7 +135,7 @@ BUILD_DOCBOOK_PDF = NO
endif
-# -------- Profile the stage2 compiler ---------------------------------------
+# -------- Profile the stage2 compiler ----------------------------------------
ifeq "$(BuildFlavour)" "prof"
@@ -143,8 +155,7 @@ BUILD_DOCBOOK_PDF = NO
endif
-
-# -------- A Development build (stage 1) -------------------------------------
+# -------- A Development build (stage 1) --------------------------------------
ifeq "$(BuildFlavour)" "devel1"
@@ -161,7 +172,7 @@ LAX_DEPENDENCIES = YES
endif
-# -------- A Development build (stage 2) -------------------------------------
+# -------- A Development build (stage 2) --------------------------------------
ifeq "$(BuildFlavour)" "devel2"
@@ -176,15 +187,6 @@ BUILD_DOCBOOK_PS = NO
BUILD_DOCBOOK_PDF = NO
LAX_DEPENDENCIES = YES
-# After stage 1 and the libraries have been built, you can uncomment this line:
-
-# stage=2
-
-# Then stage 1 will not be touched by the build system, until
-# you comment the line again. This is a useful trick for when you're
-# working on stage 2 and want to freeze stage 1 and the libraries for
-# a while.
-
endif
# -----------------------------------------------------------------------------