Created
August 5, 2018 09:01
-
-
Save yen3/ea24412cd9063f7642c10b39cba1d790 to your computer and use it in GitHub Desktop.
Build Tapir LLVM for fun
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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