Re: [Haskell-cafe] llvm on macos

2013-08-20 Thread Dominic Steinitz
Dominic Steinitz dominic at steinitz.org writes: Thanks for all the help everyone :-) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] llvm on macos

2013-08-15 Thread Anton Nikishaev
Ozgur Akgun ozgurak...@gmail.com writes: Hi. On 10 August 2013 18:20, Brandon Allbery allber...@gmail.com wrote: There may be some support for requesting specific versions from Homebrew. Try `brew versions llvm`. Then, you'll need to run the git checkout command in `brew

Re: [Haskell-cafe] llvm on macos

2013-08-15 Thread Carter Schonwald
Just brew install llvm should work fine. The version warning is just the ghc devs beig conservative about what they are committing to supporting given finite resources and llvm changing over time. On Thursday, August 15, 2013, Anton Nikishaev wrote: Ozgur Akgun ozgurak...@gmail.com

Re: [Haskell-cafe] llvm on macos

2013-08-15 Thread Ozgur Akgun
Hi. On 15 August 2013 20:35, Carter Schonwald carter.schonw...@gmail.comwrote: Just brew install llvm should work fine. I wonder what makes you think this is the case. At this moment in time, `brew install llvm` will install llvm-3.3. Using llvm-3.3, I get warnings and errors. Using

Re: [Haskell-cafe] llvm on macos

2013-08-15 Thread Carter Schonwald
Huh. I thought the 3.3 llvm problems only happened when building ghc. Oops. Your absolutely right. Ghc 7.7 does not generate in general, IR that llvm = 3.3 will be happy with. On Thursday, August 15, 2013, Ozgur Akgun wrote: Hi. On 15 August 2013 20:35, Carter Schonwald

Re: [Haskell-cafe] llvm on macos

2013-08-11 Thread Dominic Steinitz
Thank you both. I seem to be running LLVM 3.2 so I am a bit puzzled by the warning. Is it because I am running ghc 7.6.2? Dominics-MacBook-Pro:Laplace dom$ brew versions llvm 3.2 git checkout 40e9b90 /usr/local/Library/Formula/llvm.rb 3.1 git checkout 7d15192

Re: [Haskell-cafe] llvm on macos

2013-08-11 Thread Ozgur Akgun
On 11 August 2013 17:48, Dominic Steinitz domi...@steinitz.org wrote: I seem to be running LLVM 3.2 so I am a bit puzzled by the warning. Is it because I am running ghc 7.6.2? I get the warning too, but nothing seems to be broken with 3.2. This is what I meant to say, sorry if I was

[Haskell-cafe] llvm on macos

2013-08-10 Thread Dominic Steinitz
I am trying to use llvm but am being told I don't have llvm installed. Dominics-MacBook-Pro:Laplace dom$ ghc src-repa/Main.hs -rtsopts -threaded -eventlog -Odph -fllvm -optlo-O3 -fno-liberate-case -isrc-repa [1 of 3] Compiling SolverStencil( src-repa/SolverStencil.hs,

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Brandon Allbery
On Sat, Aug 10, 2013 at 7:39 AM, Dominic Steinitz domi...@steinitz.orgwrote: no location info: Warning: Couldn't figure out LLVM version! Make sure you have installed LLVM ghc: could not execute: opt The ghc documentation (

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Dominic Steinitz
Thank you very much. I used Homebrew. Now I can compile albeit with a warning. I have yet to try running it. Loading package repa-3.2.3.1 ... linking ... done. You are using a new version of LLVM that hasn't been tested yet! We will try though... Dominic Steinitz domi...@steinitz.org

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Brandon Allbery
On Sat, Aug 10, 2013 at 12:53 PM, Dominic Steinitz domi...@steinitz.orgwrote: Thank you very much. I used Homebrew. Now I can compile albeit with a warning. I have yet to try running it. Loading package repa-3.2.3.1 ... linking ... done. You are using a new version of LLVM that hasn't been

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Ozgur Akgun
Hi. On 10 August 2013 18:20, Brandon Allbery allber...@gmail.com wrote: There may be some support for requesting specific versions from Homebrew. Try `brew versions llvm`. Then, you'll need to run the git checkout command in `brew --prefix` directory. I am using llvm 3.2 because I had a few