Validate failure

Simon Marlow marlowsd at gmail.com
Fri Jun 17 10:41:10 CEST 2011


On 16/06/2011 21:43, Simon Peyton-Jones wrote:
> Here’s a new validate failure in HEAD on Windows. I have
>
> HADDOCK_DOCS = NO
>
> in my validate.mk on my laptop to save time on initial checking, but I
> get this failure, which is new.
>
> Simon
>
> Warning: haddock-interfaces: C:\code\HEAD\bindisttest\install
> dir\lib/../doc/html/libraries/ghc-prim-0.2.0.0\ghc-prim.haddock doesn't
> exist or isn't a file
>
> Linking Setup.exe ...
>
> Configuring mtl-1.1.1.1...
>
> Setup.exe: Cannot find the program 'haddock' at
>
> 'c:/code/HEAD/bindisttest/install dir/bin/haddock' or on the path


I really think the fix for this is "don't do that".  If you want to do 
mini-validate to test your changes prior to a proper validate, then in 
your working tree:

   - in mk/build.mk, set BuildFlavour=quick
   - say './boot && ./configure && make -j3 && make test'
     (by all means put this in a script)

this will be a *lot* faster than a full validate.

Cheers,
	Simon



More information about the Cvs-ghc mailing list