Skip to content

aviralg/rir

 
 

Repository files navigation

RIR

Installation

git clone https://github.com/reactorlabs/rir
cd rir
cmake .
# Fetch and build dependencies. This will build gnur from source, which
# takes a while. Note that on Mac OSX, you will need to install a fortran
# compiler (eg. brew install gcc). 
make setup
make

Running tests

To run the basic test, just execute

tools/tests

To run tests from gnur with rir enabled as a jit:

tools/gnur-make check-devel

Playing with RIR

To run R with RIR use

tools/R

This loads a normal R environment with RIR replacing the R bytecode compiler and interpreter. If you want to automatically compile functions when they are executed use

R_ENABLE_JIT=2 tools/R

Functions compiled to RIR can be inspected using rir.disassemble.

Hacking

To make changes to this repository please open a pull request. Ask somebody to review your changes and make sure travis is green.

Build Status

performance

travis (travis)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 46.8%
  • R 26.0%
  • C 25.6%
  • Other 1.6%