Just to say that this work on the new GHC build system is delivering on the
plan described here:
http://hackage.haskell.org/trac/ghc/wiki/Design/BuildSystem
Do try it out. We'll switch over it in a couple of weeks, and then you'll be
stuck with it, so we want to clear any blocking issues out of the way first, so
that your build isn't broken.
Simon
| -----Original Message-----
| From: [email protected] [mailto:[email protected]] On
Behalf Of
| Ian Lynagh
| Sent: 09 April 2009 16:43
| To: [email protected]
| Subject: New build system
|
|
| Hi all,
|
| We're getting very close to the new build system being merged into the
| HEAD, so the next week or so would be an excellent time for you to give
| it a try and let us know of any problems. Otherwise, you'll run into
| them in the HEAD instead!
|
| There are two ways you can try it out. You can download this tarball:
| http://darcs.haskell.org/ghc-new-build-system-2009-04-09-ghc-corelibs-
| testsuite.tar.bz2
| which is a snapshot of the darcs repos, or you can apply this single
| patch to your GHC head repo:
| http://darcs.haskell.org/ghc-new-build-system-megapatch-1.patch
|
| Note that when we merge the new build system into the HEAD, we are
| likely to do so with another single large patch, so both of the above
| options will conflict with the final result. They are just for testing
| purposes.
|
|
| Equally important are the docs. Simon Marlow has updated the building
| section of the wiki to talk about the new build system:
| http://hackage.haskell.org/trac/ghc/wiki/Building
| In particular, the
| Using the build system
| Installing GHC from a build
| Architecture of the build system
| sections have been updated.
|
| If there is anything that it is not clear how to do, please let us know
| and we will add something to the docs. Even if you work out how to do it
| yourself, please still let us know, so that other people don't get stuck
| in the future.
|
|
| When validating, these test failures are normal:
| 2566(normal)
| break018(ghci)
| ghcpkg02(normal)
| and I also got this on cygwin:
| ThreadDelay001(normal)
|
| Also, building on msys fails during building stage2 with
| C:\msys\1.0\bin\make.exe: *** couldn't commit memory for cygwin heap,
Win32
| error 487
| make: *** [all] Error 1
| make: INTERNAL: Exiting with 1 jobserver tokens available; should be 2!
|
| If you rerun "make" or "./validate --no-clean" then it will finish
| building.
|
| This looks like a bug in make on msys, which we will just have to live
| with.
|
|
| Thanks
| Ian
|
| _______________________________________________
| Cvs-ghc mailing list
| [email protected]
| http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc