[GHC] #16069: Proposal to resolve some confusion about stages in Hadrian
GHC
ghc-devs at haskell.org
Wed Dec 19 22:45:01 UTC 2018
#16069: Proposal to resolve some confusion about stages in Hadrian
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: | 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 snowleopard):
This simplification is something I wanted to do for a while, but there is
an important question to answer: are we going to build Haddock using
Stage1 GHC or Stage2 GHC?
The Make build system builds Haddock using Stage2 GHC. I therefore copy my
question from the GitHub issue
(https://github.com/snowleopard/hadrian/issues/661):
We know that building Haddock with Stage1 GHC works, but is this the right
thing to do? Why does the Make build system uses the Stage2 GHC to build
Haddock? Is it OK for Hadrian to deviate from Make in this respect?
If the answer to the above is "It is OK for Hadrian to use Stage1 GHC to
build Haddock" then I'll happily support this proposal.
However, if the answer is "Hadrian must also use Stage2 GHC to build
Haddock" then I'm afraid this proposal means significantly longer build
times, since now we'll need to build Stage2 libraries, just in order to
build Haddock and docs.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16069#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list