
To actually build the examples, I also needed to remove references to the
addCondPropagation optimization pass. I don't know why. I attached the darcs
patch I'm using.
Aran
On Sat, Apr 10, 2010 at 4:42 PM, Aran Donohue
UNIVERSAL=1 worked for me too. Is there a way for cabal install to detect if LLVM wasn't built with this required flag and give a more informative error message?
Aran
On Sat, Apr 10, 2010 at 2:28 AM, Max Bolingbroke < batterseapower@hotmail.com> wrote:
On 10 April 2010 03:18, Aran Donohue
wrote: problems with ghc-pkg. I think we need to rebuild LLVM forcing 32-mode, but I haven't yet found the results of this. I'd love to hear what you did if you manage to get it going and compile programs.
My LLVM checkout was still recompiling when I sent that email, but it's now finished and it fixed the problem.
All you need to do is compile LLVM as follows:
$ UNIVERSAL=1 make
Then "make install" the result. That made the LLVM bindings configure and compile fine for me.
Cheers, Max