On Tue, Sep 09, 2008 at 04:15:15PM +0100, Simon Marlow wrote:
> Claus Reinke wrote:
> 
> >What is wrong with a proper 'make', cleaning, dependencies,
> >and all, at least as an aim, if not yet in practice? Of course, you
> >can move house every time your dirty plates fill your sink, so that
> >you have an entirely clean house in which to start the week, but
> >that isn't more than a workaround, not a solution.
> 
> I completely agree, and this is something I'd like to improve when we 
> overhaul the build system.

I've been largely ignoring messages about perceived deficiencies in the
current build system, given the consensus is to replace it anyway, but
it seems to me that it has gotten better, not worse, in this respect.

Almost all generated files are now put in dist* directories, which makes
them easy to clean; and even if you do stop using a dist directory and
it doesn't get cleaned, it's hard to see how files in such a directory
could interfere with the build.

Also, the existence of libraries/base/GHC/Prim.hs causing problems was
pretty much unrelated to the build system. haddock behaves more-or-less
like ghc --make, so haddocking the base library was picking up
GHC/Prim.hs and GHC was getting confused by it. Short of copying all the
sources into dist/ and haddocking them in there (which, incidentally, I
think would be a good idea, although Duncan isn't keen), any build
system would fail in the same way.


Thanks
Ian

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to