Ian Lynagh wrote:
On Tue, Aug 12, 2008 at 11:11:38AM +0100, Simon Marlow wrote:
I propose we do this:

 - Extract the code from Cabal that generates Makefiles, and treat it as
   part of the GHC build system.  Rather than generating a Makefile
   complete with build rules, we generate a Makefile that just
   has the package-specific metadata (list of modules, etc.), and put
   the code to actually build the package in the GHC build system.

Do you see this as the long-term, final solution? Or would the plan be
to let Cabal do the building again once it has learnt how to do its own
dependency analysis and call "ghc -c" on individual modules?

Right, it sounds like Cabal's long-term strategy is to provide an extensible make DSL, which would address most of the complaints about the current system. Migrating to that in due course should be our long-term plan.

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to