| The standard citation is "Recursive make considered harmful" by Peter Miller: | | http://miller.emu.id.au/pmiller/books/rmch/?ref=DDiyet.Com | | I should say up front that I'm not completely sure this is going to work | out, which is one reason we need to try it on a branch. But the approach | has the potential to improve things a lot: | | * we get to specify dependencies between different parts of the tree much | more easily and precisely. BIG WIN. Have you noticed how often you | need to 'make distclean' in a GHC tree to make sure everything is up to | date? (well I rarely do this, because I have the dependencies in my | head and I can rebuild manually, but I imagine this isn't the case for | most people!) | | * we get more parallelism, more easily. I'd argue this is a big win too, | right now a validate only uses about 1.3 out of 2 cores. ...
I've dumped these thoughts into the design document, in a new section devoted to recursive makefiles. http://hackage.haskell.org/trac/ghc/wiki/Design/BuildSystem Simon _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
