view Dockerfile @ 709:ed7183a46dca

create a stub when the output is a different interface
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Mon, 24 Aug 2020 21:20:34 +0900
parents 7d664be4efa5
children
line wrap: on
line source

# docker build -t gears .  # build container
# docker run gears         # launch container and attach

FROM fedora:23

WORKDIR /root
RUN dnf update -y
RUN dnf install -y gcc gcc-c++ mercurial git vim zsh tar findutils make gdb cmake
RUN hg clone http://firefly.cr.ie.u-ryukyu.ac.jp/hg/CbC/CbC_llvm
RUN mkdir /root/llvm_build
WORKDIR /root/llvm_build
RUN /root/CbC_llvm/configure --enable-assertions
RUN make -j 2
RUN make install
ENV CBC_COMPILER /usr/local/bin/clang
WORKDIR /root
RUN git clone https://github.com/choller/llcov

CMD zsh