[haskell-llvm] Compiling the llvm-base on Windows fails

Gaster, Benedict Benedict.Gaster at amd.com
Tue Aug 7 19:26:57 BST 2012


I have for a little while had llvm-base-3.0.1.tar.gz built and working under OS X but I'm having a problem building it under Windows 7.

ghc -v

The Glorious Glasgow Haskell Compilation System, version 7.4.1

As there is a small issue with compiling llvm-base with LLVM 3.1, described below, I downloaded and patched the fix (which is the same as I did on OS X) and then it fails with:

C:\cygwin\tmp\llvm-base-3.0.1.0>cabal configure --configure-option=--with-llvm-prefix=\cygwin\tmp\llvm-install
Resolving dependencies...
Configuring llvm-base-3.0.1.0...
setup.exe: llvm.buildinfo.windows.in: does not exist

I've tried it both from a Cygwin bash shell and also a cmd prompt and I get basically the same error.

I'm assuming that this package is known to work on Windows? Any help would be really great.

Regards,

Ben

The problem with LLVM 3.1 is that cbits/extra.cpp has the line:

      error.Print("llvm-py", buf);

But Print is actually print in llvm::SMDiagnostic. (I don't know if this was a change between LLVM 3.0 and 3.1?)


- Benedict R. Gaster
Enjoy Berlin and submit a paper to Multiprog 2013: http://multiprog.ac.upc.edu/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskell-llvm/attachments/20120807/d013926b/attachment.htm>


More information about the Haskell-llvm mailing list