Building stage1 only

Richard Eisenberg eir at cis.upenn.edu
Mon Oct 19 22:35:03 UTC 2015


I haven't tested this, but I imagine putting `stage=1` in your build.mk or even on the command line should work.

Richard

On Oct 19, 2015, at 4:47 PM, Ömer Sinan Ağacan <omeragacan at gmail.com> wrote:

> (I know I asked this many times in IRC channel but I don't remember getting any
> answers. I apologize if anyone had answered this on IRC channel and I missed)
> 
> With current build system, even if I choose "devel1" it always builds stage2
> compiler too. A comment in build.mk says that it's for working on stage1
> compiler, so I'd expect it to build only stage1.
> 
> The reason I want stage1-only builds is the time it takes to build both stages.
> It takes approximately 30 minutes and if I could reduce this down to half that
> would greatly improve my work flow.
> 
> Most of the time I don't need a full build, but in my experience, it's very
> easy to end up in a state where `make` simply can't build, and only
> easy fix is a
> `make clean`, which costs 30 minutes because then I have to build from scratch.
> This happens way too often, and so I need a stage1-only build.
> 
> Thanks..
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs



More information about the ghc-devs mailing list