From f279c7068d8209fb84c80f1fcf0f391bb92c19af Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 10 May 2020 17:34:10 +0430 Subject: update --- llvm/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 llvm/Dockerfile (limited to 'llvm/Dockerfile') diff --git a/llvm/Dockerfile b/llvm/Dockerfile new file mode 100644 index 0000000..72a626a --- /dev/null +++ b/llvm/Dockerfile @@ -0,0 +1,15 @@ + +FROM ubuntu:18.04 +RUN apt update && apt upgrade +RUN apt install wget gnupg2 software-properties-common make git -y + +RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \ + && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main" \ + && apt-get update \ + && apt-get install clang-10 llvm-10-dev libclang-common-10-dev libclang-10-dev -y + +RUN git clone https://github.com/bloodstalker/cgrep \ + && cd cgrep \ + && git submodule init \ + && git submodule update \ + && make CXX=clang-10 LLVM_CONF=llvm-config-10 -- cgit v1.2.3