New build system
igloo at earth.li
Thu Apr 9 11:42:43 EDT 2009
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:
which is a snapshot of the darcs repos, or you can apply this single
patch to your GHC head repo:
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
Equally important are the docs. Simon Marlow has updated the building
section of the wiki to talk about the new build system:
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:
and I also got this on cygwin:
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
This looks like a bug in make on msys, which we will just have to live
More information about the Cvs-ghc