Re: [Haskell-cafe] llvm on macos

2013-08-20 Thread Dominic Steinitz
Dominic Steinitz 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 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 > 'carter.s

Re: [Haskell-cafe] llvm on macos

2013-08-15 Thread Ozgur Akgun
Hi. On 15 August 2013 20:35, Carter Schonwald wrote: > 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 llvm-3.2, I get warnings but I ne

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 > writes: > > > Hi. > > > > On 1

Re: [Haskell-cafe] llvm on macos

2013-08-15 Thread Anton Nikishaev
Ozgur Akgun writes: > Hi. > > On 10 August 2013 18:20, Brandon Allbery 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. > Or brew tap h

Re: [Haskell-cafe] llvm on macos

2013-08-11 Thread Ozgur Akgun
On 11 August 2013 17:48, Dominic Steinitz 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 confusing. -- Ozgur Akgu

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 /usr/local/Library/F

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Ozgur Akgun
Hi. On 10 August 2013 18:20, Brandon Allbery 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 ghc related problem

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Brandon Allbery
On Sat, Aug 10, 2013 at 12:53 PM, Dominic Steinitz wrote: > 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

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 http

Re: [Haskell-cafe] llvm on macos

2013-08-10 Thread Brandon Allbery
On Sat, Aug 10, 2013 at 7:39 AM, Dominic Steinitz wrote: > : > Warning: Couldn't figure out LLVM version! > Make sure you have installed LLVM > ghc: could not execute: opt > > The ghc documentation > ( > http://www.haskell.org/ghc/docs/7.6.1/html/users_guide/code-generators.html >

[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, src-repa/SolverStencil.