Hugs' build system
Ross Paterson
ross at soi.city.ac.uk
Mon Feb 26 08:25:33 EST 2007
On Mon, Feb 26, 2007 at 01:51:42PM +0100, Sven Panne wrote:
> On Monday 26 February 2007 13:18, Ross Paterson wrote:
> > Package name+version determines the URL of the tarball stored in HackageDB,
> > e.g.
> > http://hackage.haskell.org/packages/archive/OpenGL/OpenGL-2.1.tar.gz
> >
> > and we can just assume that all packages of interest are there.
>
> Can one safely assume that
>
> http://hackage.haskell.org/packages/archive/PACK/PACK-VER.tar.gz
>
> untars into a PACK-VER directory containing that package?
Yes, and that it contains PACK-VER/PACK.cabal. That's what "setup sdist"
makes, and it is checked on upload.
> Earlier you've mentioned some sharing of libraries. Could you elaborate a bit
> how this should work in detail? I only have a very vague idea, and I am not
> sure if this is a must or only a nice-to-have.
I'd find having copies of the source trees a bit awkward, so I use a
custom setup with shadow build trees. Since GHC wants to manage the darcs
trees, I link to those. Maybe it's just a nice-to-have, and things may
change when GHC becomes more independent of most of the libraries.
More information about the Cvs-hugs
mailing list