llvmruby now available in gem format
Thanks to Christian Plessl getting gemification started, llvmruby is now available as a gem install from github. LLVM itself is still a separate install and build. This will probably remain true as LLVM is huge and takes forever to compile. Including it with every version of a gem seems ridiculous. The other good news is that LLVM 2.4 is due out at the end of the month at which point we will be targeting a real non-development version!
To install as a gem, you need to be able to install gems from github.
- Upgrade to at least 1.2 of rubygems
- Add github as a gem source: gem source -a http://gems.github.com
- Make sure that you have built LLVM, that you built it with –enable-pic, and that llvm-config is in your path
- gem install tombagby-llvmruby
Now just:
require 'rubygems' require 'llvm'
And you are good to go!
Hi, This doesn’t seem to work with Ruby 1.9. How do I get an updated version of the gem (with the 1.9 patches)?
Bjarke Walling
9 Feb 09 at 1:10 pm
???? ????????????? ??? ???????? ????, ? ???????? ??????????? ?????? ?? ???????????? ??? ????….
????? This will probably remain true as LLVM is huge and takes forever to compile. Including it with every version of a gem seems ridiculous. The […….
Kylie Batt
20 Apr 10 at 6:33 pm