Last active
January 5, 2020 22:40
-
-
Save androm3da/ec8dd5b500994180294133a8305e49d2 to your computer and use it in GitHub Desktop.
ubuntu docker build clang
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:16.04 | |
VOLUME ['/tmp/'] | |
RUN apt-get update && apt-get install -y --force-yes build-essential subversion chrpath wget file python python-virtualenv cmake ninja-build tar tcl && \ | |
cd /tmp && \ | |
wget --quiet https://raw.githubusercontent.com/llvm/llvm-project/master/llvm/utils/release/test-release.sh && \ | |
wget --quiet https://releases.llvm.org/8.0.0/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz && \ | |
tar xf clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz && \ | |
chmod +x test-release.sh && \ | |
/usr/bin/env CXX=/tmp/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang++ \ | |
CC=/tmp/clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang ./test-release.sh -release 9.0.0 -rc 5 -triple x86_64-linux-gnu-ubuntu-16.04 || /bin/true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment