Haddock version during build

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Jun 3 05:16:56 EDT 2008


On Tue, 2008-06-03 at 11:05 +1000, Manuel M T Chakravarty wrote:
> I just had a validate run halt with the message
> 
>    Running Haddock for ghc-prim-0.1...
>    Setup: Haddock's internal GHC version must match the configured GHC  
> version
> 
> after updating to Haddock 2.0.  I am far from convinced that it makes  
> sense to enforce matching compiler versions here.  In particular, if  
> this is enforced, Haddock would need to build as part of a standard  
> GHC build, which seems like a waste of time.

As I understand it the issues is that since haddock 2.x is using the ghc
api and loads .hi files and then the .hi versions need to match up.
Perhaps Simon or David can comment in more detail and about how we might
relax the restriction.

Duncan



More information about the Cvs-ghc mailing list