RE: GHC 7.6 failes to build

Simon Peyton-Jones <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <59543203684B2244980D7E4057D5FBC13F799128@DB3EX14MBXC306.europe.corp.microsoft.com>
| The HEAD version of DPH might work with ghc-7.6 right now, but we don't
| expect it to in the future.

Indeed. That's entirely reasonable. I started off building the ghc-7.6 branch by saying
	sync-all checkout ghc-7.6
to get compatible compilers and libraries.  But for
	dph
	vector
	random
there *is* no ghc-7.6 branch, so I had to use master.

So the question (for Ben, Manuel) is this: which branch of DPH should one use with ghc-7.6?  Maybe the answer is "none", in which case we can be careful
  a) to ignore DPH when testing the ghc-7.6 branch
  b) to tell users that they should not attempt to use DPH with ghc 7.6

Is that the idea? Or is there a version that should work? 

For vector and random the same questions apply, but since we simply have lagging git repos for them we can create a ghc-7.6 branch.  Did you deliberately not do that, Ian?

Simon


| -----Original Message-----
| From: Ben Lippmeier [mailto:[email protected]]
| Sent: 06 December 2012 02:06
| To: Ian Lynagh
| Cc: [email protected] list; Simon Peyton-Jones; Manuel M T Chakravarty
| Subject: Re: GHC 7.6 failes to build
| 
| 
| On 06/12/2012, at 5:19 AM, Ian Lynagh wrote:
| 
| > On Wed, Dec 05, 2012 at 05:49:03PM +0000, Simon Peyton-Jones wrote:
| >>
| >> validate from scratch on Linux on the 7.6 branch fails thus in dph.
| >> My validate.mk is htis
| >>
| >> I will move dph out of the way for now, but what's wrong?
| >
| > Hmm, we don't build DPH in the 7.6 branch by default, and I recently
| > bumped HEAD's base version and updated DPH to match. For some reason
| > all the DPH deps are of the form x.y.*, which means 7.6's base doesn't
| > satisfy the dependency.
| >
| > Ben, Manuel, is there a reason the dependencies are in that form? Is
| > the HEAD DPH supposed to work with the GHC 7.6 branch?
| 
| No. The DPH libraries for a particular GHC branch are only expected to
| work with that branch. The DPH libraries are tied to a particular
| version of GHC, because they depend so much on properties of the
| vectoriser.
| 
| I've been using a dependency on the base package as a proxy for the GHC
| version number. If you bump the base package version then you'll need to
| make a ghc-7.6 branch for DPH, like you've been doing for the other
| libraries.
| 
| The HEAD version of DPH might work with ghc-7.6 right now, but we don't
| expect it to in the future.
| 
| Is that ok?
| 
| Ben.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.