patch applied (ghc): don't rebuild the whole of stage 1 just because the date has changed

Manuel M T Chakravarty chak at cse.unsw.edu.au
Thu May 14 21:52:25 EDT 2009


Unfortunately, this patch makes validate fail (at least on Mac OS X)  
with

> inplace/bin/mkdirhier ghc/stage1/build
> mkdir ghc/stage1
> mkdir ghc/stage1/build
> rm -f ghc/stage1/build/.depend ghc/stage1/build/.depend.tmp
> touch ghc/stage1/build/.depend.tmp
> /usr/bin/ghc -M -include-pkg-deps -dep-makefile ghc/stage1/ 
> build/.depend  -Werror -H64m -O0 -fasm -package-conf libraries/ 
> bootstrapping.conf -i -ighc/. -ighc/stage1/build -ighc/stage1/build/ 
> autogen -Ighc/stage1/build -Ighc/stage1/build/autogen -O -fasm - 
> package ghc-6.11 -XCPP -XPatternGuards -XForeignFunctionInterface - 
> XUnboxedTuples -XFlexibleInstances -XMagicHash -fforce-recomp -odir  
> ghc/stage1/build -hidir ghc/stage1/build -stubdir ghc/stage1/build - 
> hisuf hi -osuf o -hcsuf hc  ghc/./Main.hs || ( rm -f ghc/stage1/ 
> build/.depend; exit 1 )
> <command line>: unknown package: ghc-6.11
> make[1]: *** [ghc/stage1/build/.depend] Error 1
> make: *** [all] Error 2
> limitingfactor chak 17 (.../Code/ghc-test2):

If I unpull this patch, it works again.

Manuel


Simon Marlow:
> Thu May 14 02:36:36 PDT 2009  Simon Marlow <marlowsd at gmail.com>
>  * don't rebuild the whole of stage 1 just because the date has  
> changed
>  Ignore-this: f4b7eceae68033723e6eb79f3972636d
>
>    M ./compiler/ghc.mk +10
>
> View patch online:
> http://darcs.haskell.org/ghc/_darcs/patches/20090514093636-12142-3e912245ae5cafdcbf5b2ec2ea82b8af0ddedb46.gz
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc



More information about the Cvs-ghc mailing list