This commit is contained in:
parent
0eb10a4800
commit
711f265326
15
llvm.Dockerfile
Normal file
15
llvm.Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM erki/cpp-ubuntu:latest
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt update
|
||||
|
||||
RUN git clone --depth=1 https://github.com/llvm/llvm-project.git
|
||||
|
||||
RUN mkdir /llvm-project/build
|
||||
WORKDIR /llvm-project/build
|
||||
RUN cmake ../llvm -G"Ninja" -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release
|
||||
RUN ninja install
|
||||
|
||||
WORKDIR /
|
||||
RUN rm -r /llvm-project
|
||||
Loading…
x
Reference in New Issue
Block a user