[GHC] #16069: Proposal to resolve some confusion about stages in Hadrian
GHC
ghc-devs at haskell.org
Wed Jan 16 05:52:08 UTC 2019
#16069: Proposal to resolve some confusion about stages in Hadrian
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Matthew Pickering <matthewtpickering@…>):
In [changeset:"6486c6e49c53e75f37ed732b38c5be7ae64785e8/ghc"
6486c6e4/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="6486c6e49c53e75f37ed732b38c5be7ae64785e8"
Hadrian: Add support for building stage3
This ticket enables the building of a `stage3` compiler by making the
build logic more consistent and predictable in Hadrian.
Two of the main changes are:
1. In order to build anything at stageN we use the package database
present at stageN. Fixing #16069
2. `haddock` and `ghc-tags` are built
as stage1 executables (with the stage1 compiler) rather than as
stage2 compiler. Fixing
[hadrian#661](https://github.com/snowleopard/hadrian/issues/661)
In order to build a stage3 compiler, you have to set the new `finalStage`
hadrian option to `Stage3`.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16069#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list