Skip to content

Instantly share code, notes, and snippets.

@wanabe
Last active October 6, 2016 01:45
Show Gist options
  • Select an option

  • Save wanabe/27c4dcaf9b5d493309e347d11cfc32ce to your computer and use it in GitHub Desktop.

Select an option

Save wanabe/27c4dcaf9b5d493309e347d11cfc32ce to your computer and use it in GitHub Desktop.
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y git
RUN git clone https://github.com/rubyomr-preview/ruby.git --branch ruby_2_2_omr --recursive
# for ruby
RUN apt-get install -y autoconf ruby build-essential bison
# for omr
RUN apt-get install -y libnuma-dev
WORKDIR /ruby
RUN autoconf
RUN ./configure SPEC=linux_x86-64 --with-omr-jit
RUN make || :# continue even if failed (cache intermediates)
RUN make
RUN make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment