Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 866 Bytes

File metadata and controls

28 lines (20 loc) · 866 Bytes
Author

Jeremy Voorhis

Contributors

Evan Phoenix

Copyright

Copyright © 2010 Jeremy Voorhis

License

BSD 3-clause (see LICENSE)

This package contains Ruby bindings to the LLVM api, enabling users to make use of LLVM’s optimization passes and JIT compilation for implementing compiled DSLs, callback functions, or fast Ruby method implementations.

ruby-llvm has been tested on the following Ruby interpreters:

  • MRI 1.8.7

  • MRI 1.9.1

  • JRuby 1.4.0

If using MRI, then at least ffi >= 0.5.4 is required.

  • LLVM 2.7, compiled with –enable-shared

The first two digits of ruby-llvm’s version number refer to the required major and minor version of LLVM. The third digit refers to the ruby-llvm release itself. Because LLVM’s api changes often, this coupling between LLVM and ruby-llvm versions is necessary.