- 23 Nov, 2015 1 commit
-
-
Ben Gamari authored
31bcf9b6 changed the behavior of WERROR such that it would only apply to the stage 2 build. The reason for this was to avoid silly redundant imports and such breaking validation on different bootstrap compiler versions. Document the fact that WERROR now only applies to the stage 2 build.
-
- 07 Sep, 2015 1 commit
-
-
Thomas Miedema authored
This allows easier diffing of different BuildFlavours, including `mk/flavours/validate.mk`. Reviewed By: bgamari, austin Differential Revision: https://phabricator.haskell.org/D1050
-
- 13 Jul, 2015 1 commit
-
-
Thomas Miedema authored
stm and parallel have an 'extra' tag in the ./packages file, so would get added to PACKAGES_STAGE2 by default, and subsequently build by the stage2 compiler. With this patch, this happens only when you set BUILD_EXTRA_PKGS=YES in build.mk. A normal validate still builds (and tests) the 'extra' packages, but they are skipped for `validate --fast`. Maybe this brings us closer to finishing within the 50 minute Travis limit as well. We can later try to give random, primitive and vector an 'extra' tag as well (now they have a 'dph' tag), but some tests will probably fail at first. Differential Revision: https://phabricator.haskell.org/D1065
-
- 07 Jul, 2015 1 commit
-
-
Thomas Miedema authored
We used to have the following in mk/build.mk.sample: GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v) This commit removes that statement for the following reasons: 1) It depends on the variable DYNAMIC_GHC_PROGRAMS, which is set later in the file for some BuildFlavours. Although this works because `make` does multiple passes when reading Makefiles, it is confusing to users [1]. Instead, test for DYNAMIC_GHC_PROGRAMS in mk/config.mk.in. 2) Although it looks like that line is about compiling the `dyn` way, its purpose is really to not build the `prof` way. This commit introduces the variable BUILD_PROF_LIBS, to make this more explicit. This simplifies mk/build.mk.sample and mk/validate-settings.mk. Note that setting GhcLibWays explicitly still works, and DYNAMIC_GHC_PROGRAMS=NO in build.mk does not build the `dyn` way. [1] https://mail.haskell.org/pipermail/ghc-devs/2014-December/007725.html Differential Revision: https://phabricator.haskell.org/D1021
-
- 30 Jun, 2015 1 commit
-
-
Thomas Miedema authored
This happened because the dyn way was listed twice in GhcLibWays for BuildFlavour=perf.
-
- 02 Apr, 2015 2 commits
-
-
Thomas Miedema authored
The default validate settings currently disable some warnings in the libraries. This patch moves those settings to a new file called `mk/warnings.mk`, and applies them also to normal builds. Through uncommenting a line in build.mk, developers can now build with -Werror. -Werror is not the default, because: * We can not guarantee that the build is warning free on platforms we don't run regularly run validate (as part of continuous integration systems), and we still want the build to go through on those platforms. * quoting rwbarton on irc > "I think -Werror by default has come up in the past and the argument was that it is too annoying when you are doing nontrivial development" Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D785
-
Thomas Miedema authored
On platforms that support -fasm, it is already the default, so we don't have to set it. Reviewed By: austin, erikd (tested on powerpc and armhf) Differential Revision: https://phabricator.haskell.org/D784
-
- 01 Apr, 2015 2 commits
-
-
Thomas Miedema authored
Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D783
-
Thomas Miedema authored
Use same format for each build flavour, to make it easier to compare them. Refactoring only. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D782
-
- 31 Mar, 2015 1 commit
-
-
Herbert Valerio Riedel authored
[skip ci]
-
- 14 Dec, 2014 1 commit
-
-
Erik de Castro Lopo authored
Summary: Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com> Reviewers: austin, carter Reviewed By: carter Subscribers: carter, thomie Differential Revision: https://phabricator.haskell.org/D570 GHC Trac Issues: #9884
-
- 09 Sep, 2014 1 commit
-
-
Ben Gamari authored
Summary: We can use the native codegen for stage 1 as it is to run on the host platform. Test Plan: Reviewers: Subscribers: GHC Trac Issues:
-
- 10 Aug, 2014 1 commit
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 29 Jun, 2014 1 commit
-
-
Herbert Valerio Riedel authored
Now that the `libraries/dph` submodule is checked out always we need a different way to disable building DPH to save compile-time while developing GHC. This commit adds a new YES/NO Make variable `BUILD_DPH` that can be used inside mk/build.mk to control whether to build libraries/dph or not. The default setting is `BUILD_DPH=YES` (via `mk/config.mk.in`). This also changes `validate`'s flag `--no-dph` to explicitly disable DPH for the current validation run. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org> Test Plan: successful validates with `--fast --no-dph` Differential Revision: https://phabricator.haskell.org/D31
-
- 10 Mar, 2014 2 commits
- 30 Jan, 2014 1 commit
-
-
Luke Iannini authored
This is for building performance-optimized cross compilers (e.g. the iOS target.) Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 28 Jan, 2014 1 commit
-
-
Ben Gamari authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 25 Oct, 2013 1 commit
-
-
Austin Seipp authored
This is suitable e.g. for iOS. Authored-by:
Authored-by: Luke Iannini <lukexi@me.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 02 Jul, 2013 1 commit
-
-
gmainlan@microsoft.com authored
-
- 31 May, 2013 1 commit
-
-
gmainlan@microsoft.com authored
The LLVM back end does not yet work when building dynamically.
-
- 04 May, 2013 1 commit
-
-
thoughtpolice authored
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>
-
- 03 Apr, 2013 1 commit
-
-
ian@well-typed.com authored
Although it's not technically needed, it's less confusing if the vanilla way works when people use the sample build.mk.
-
- 15 Mar, 2013 1 commit
-
-
ian@well-typed.com authored
In particular, this means that GHCi will use DLLs, rather than loading object files itself.
-
- 17 Jan, 2013 1 commit
-
-
mad.one@gmail.com authored
Closes Trac #7572. Signed-off-by:
Austin Seipp <mad.one@gmail.com>
-
- 25 Oct, 2012 1 commit
-
-
ian@well-typed.com authored
Now that we can build dyn-only, we don't need to force DYNAMIC_BY_DEFAULT to NO. We just set GhcLibWays appropriately.
-
- 21 Oct, 2012 1 commit
-
-
ian@well-typed.com authored
This will hopefully make it less likely that we will get bug reports with the pretty output, such as in trac ticket 7225.
-
- 18 Oct, 2012 1 commit
-
-
ian@well-typed.com authored
It sets GhcLibWays=v, which doesn't work with DYNAMIC_BY_DEFAULT on as the dynamic libs aren't built.
-
- 07 Aug, 2012 1 commit
-
-
ian@well-typed.com authored
To explicitly choose whether you want an unregisterised build you now need to use the "--enable-unregisterised"/"--disable-unregisterised" configure flags.
-
- 13 Jan, 2012 1 commit
-
-
dterei authored
-
- 30 Aug, 2011 1 commit
-
-
Ian Lynagh authored
-
- 08 Aug, 2011 1 commit
-
-
Simon Marlow authored
-
- 05 Aug, 2011 1 commit
-
-
Simon Marlow authored
-
- 20 Jul, 2011 1 commit
-
-
dterei authored
-
- 05 May, 2011 1 commit
-
-
dreixel authored
-
- 04 May, 2011 1 commit
-
-
Simon Marlow authored
-
- 01 Feb, 2011 1 commit
-
-
Simon Marlow authored
-
- 16 Jun, 2010 1 commit
-
-
Ian Lynagh authored
This fixes a problem with commands like gzip, where if $GZIP is exported in the environment, then when make runs a command it'll put the Makefile variable's value in the environment. But gzip treats $GZIP as arguments for itself, so when we run gzip it thinks we're giving it "gzip" as an argument.
-
- 09 Sep, 2009 1 commit
-
-
Simon Marlow authored
Now, adding dyn to $(GhcLibWays) is how shared libs are enabled. Everything else keys off that, rather than testing $(BuildSharedLibs).
-
- 01 Jul, 2009 1 commit
-
-
Simon Marlow authored
Building a profiled GHC is as simple as adding GhcLibWays += p GhcProfiled = YES to your build.mk and saying 'make'. Then you have a profiled inplace/bin/ghc-stage2.
-