Build system woes

2008-07-30 Thread Roman Leschinskiy
Hi all, SimonPJ asked me to summarise the problems I've been having with GHC's new build system with the idea that we could perhaps talk a bit about this during today's IRC meeting. The context is the Data Parallel Haskell project and in particular the dph packages which need a number of

Re: Build system woes

2008-07-30 Thread Claus Reinke
/cvs-ghc/2008-July/043798.html Claus - Original Message - From: Roman Leschinskiy [EMAIL PROTECTED] To: GHC Users Mailing List glasgow-haskell-users@haskell.org Sent: Wednesday, July 30, 2008 1:22 PM Subject: Build system woes Hi all, SimonPJ asked me to summarise the problems I've

Re: Build system woes

2008-07-30 Thread Simon Marlow
We can talk about the general issues on IRC. But I thought I'd answer a few of the specific questions quickly: Roman Leschinskiy wrote: I don't think I understand how GHC itself is built any longer, either. What does cabal-bin do? It's effectively a pre-compiled Setup.hs for packages that

Re: Build system woes

2008-07-30 Thread Simon Marlow
Claus Reinke wrote: For infrequent updaters like myself, it would also be nice just to have a HEADS UP before and after periods of larger than usual instability (such as build system replacements). And, talking about #ghc, I've got the suspicion that this channel is partly to blame for the

Re: Build system woes

2008-07-30 Thread Duncan Coutts
On Wed, 2008-07-30 at 14:46 +0100, Simon Marlow wrote: I don't think I understand how GHC itself is built any longer, either. What does cabal-bin do? It's effectively a pre-compiled Setup.hs for packages that have no need for a custom Setup.hs. cabal-install does the same job for

Re: Build system woes

2008-07-30 Thread Roman Leshchinskiy
On 30/07/2008, at 23:46, Simon Marlow wrote: We can talk about the general issues on IRC. But I thought I'd answer a few of the specific questions quickly: Thanks, Simon! Roman Leschinskiy wrote: I don't think I understand how GHC itself is built any longer, either. What does

Re: Build system woes

2008-07-30 Thread Ian Lynagh
On Thu, Jul 31, 2008 at 12:55:09AM +1000, Roman Leshchinskiy wrote: I see. So it looks at the Build-Type in the package description and calls the right defaultMain if it's not Custom. And if my Setup.hs isn't standard then it's my responsibility to set the Build-Type to Custom in the