I borrowed these steps from the buildbot setup for SmartOS I found at http://haskell.inf.elte.hu/builders/. Generally the standard build steps for ghc seems to work pretty well at this point aside from a few more test failures than I observed when building on Linux.
- Clone ghc repo and check out desired branch or tag.
- Edit
mk/build.mk
to be the following: