X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fbuild.mk.sample;h=b0b66d34783f56544fef2bbb3c72ef956a831f0b;hb=82a36a85dc7150d7b7172e221741bf39eaa8eaab;hp=8205f022912c3a1cc48d271a2b40ef9c2f5a6ea7;hpb=805fcaad8d2efd98c733f684d3d24a9ba387708f;p=ghc-hetmet.git diff --git a/mk/build.mk.sample b/mk/build.mk.sample index 8205f02..b0b66d3 100644 --- a/mk/build.mk.sample +++ b/mk/build.mk.sample @@ -5,14 +5,16 @@ # overall build type, and then tweak the options in the relevant section # below. -BuildFlavour = devel +# Uncomment one of these to select a build profile below: + +#BuildFlavour = devel #BuildFlavour = perf # -------- Misc. settings ----------------------------------------------------- # Not necessary to set this, but useful if you have other projects checked-out -# in your source tree. -ProjectsToBuild = glafp-utils ghc libraries hslibs +# in your source tree: +# ProjectsToBuild = glafp-utils ghc libraries hslibs # Which warnings we like to use MyWarningOpts = -W -fno-warn-unused-matches -fwarn-unused-imports @@ -25,14 +27,9 @@ GhcCompilerWays = SRC_HC_OPTS = -H32m -O0 $(MyWarningOpts) GhcHcOpts = -Rghc-timing -DDEBUG -GhcLibHcOpts = -dcore-lint $(MyWarningOpts) -keep-hc-files +GhcLibHcOpts = -O -dcore-lint $(MyWarningOpts) -keep-hc-files GhcLibWays = -# Debugging RTS -GhcRtsHcOpts = -optc-DDEBUG -GhcRtsCcOpts = -g -SRC_HC_OPTS += -lbfd -liberty - # profiled RTS #GhcRtsCcOpts = -pg -g