Skip to content

Instantly share code, notes, and snippets.

@yen3
Created August 5, 2018 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yen3/ea24412cd9063f7642c10b39cba1d790 to your computer and use it in GitHub Desktop.
Save yen3/ea24412cd9063f7642c10b39cba1d790 to your computer and use it in GitHub Desktop.
Build Tapir LLVM for fun
FROM ubuntu:18.04
RUN sed -i 's/archive.ubuntu.com/tw.archive.ubuntu.com/g' /etc/apt/sources.list \
&& rm /etc/dpkg/dpkg.cfg.d/excludes \
&& apt update \
&& dpkg -l | grep ^ii | cut -d' ' -f3 | xargs apt install -y --reinstall \
&& apt install -y build-essential git man python cmake\
&& git clone --recursive https://github.com/wsmoses/Tapir-Meta.git \
&& cd /Tapir-Meta \
&& ./build.sh release \
&& cd /Tapir-Meta/tapir/build \
&& make -j8 install \
&& cd / \
&& rm -rf /Tapir-Meta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment