Skip to content

Instantly share code, notes, and snippets.

@androm3da
Last active January 5, 2020 22:40
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 androm3da/ec8dd5b500994180294133a8305e49d2 to your computer and use it in GitHub Desktop.
Save androm3da/ec8dd5b500994180294133a8305e49d2 to your computer and use it in GitHub Desktop.
ubuntu docker build clang
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