On Thu, Jan 20, 2011 at 09:32:05PM +1100, Manuel M T Chakravarty wrote:
> Simon Peyton-Jones:
> > |  If DPH is installed, -fdph-par is now the default.  Unfortunately, 
> > during the build
> > |  process, the package DB is populated with packages at a time where they 
> > are not yet
> > |  available. 
> > 
> > I believe that used to be the case, but Ian changed it recently. So it may 
> > no longer be the case. Death to dummy-ghc.
> 
> Yes, I noticed that change.  But it just seems to be the case later during 
> the build than it was before — ie, the inconsistent DB exists for a shorter 
> time.  But maybe Ian can explain.

We still register all the packages, and then build them all, so during
the build packages will be registered but not available.

The recent change is that when configuring, we use the actual GHC that
will be used to compile the package, rather than "dummy-ghc" which tries
to look enough like the real ghc that Cabal will configure the package
correctly.

Actually, that's not quite true for dph either: We configure everything
with the stage1 compiler, including dph; it doesn't matter that stage1
can't actually compile it.


Thanks
Ian


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

Reply via email to