Installing llvm-tools

In my last post I neglected to provide installation instructions. For most systems, it should be fairly straightforward:

  1. Ensure that dot, llvm-config, ghc, and cabal are in your PATH. The first is provided by the Haskell Platform. The 2012 releases should work. Additionally, ensure that ~/.cabal/bin is in your PATH, since the binaries will be installed there (and it may need to be in your path during the build process, too).

  2. Run the following script:

The installation will probably take some time since it will pull in all of the necessary dependencies (graphviz often takes quite a while). I should note that this would be more convenient if I put everything up on hackage, but I don’t think it is stable enough for that.