llvm.org GIT mirror llvm / a7bc888
[Dockerfiles] Use a newer version of ninja when building inside debian8. Summary: The debian8 repos have an old version of ninja that seems to sometimes crash when building llvm. Reviewers: ioeric, mehdi_amini Reviewed By: ioeric Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D42304 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323134 91177308-0d34-0410-b5e6-96231b3b80d8 Ilya Biryukov 1 year, 8 months ago
1 changed file(s) with 9 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1818 # Install compiler, python and subversion.
1919 RUN apt-get update && \
2020 apt-get install -y --no-install-recommends ca-certificates gnupg \
21 build-essential python wget subversion ninja-build && \
21 build-essential python wget subversion unzip && \
2222 rm -rf /var/lib/apt/lists/*
23
24 # Install a newer ninja release. It seems the older version in the debian repos
25 # randomly crashes when compiling llvm.
26 RUN wget "https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip" && \
27 echo "d2fea9ff33b3ef353161ed906f260d565ca55b8ca0568fa07b1d2cab90a84a07 ninja-linux.zip" \
28 | sha256sum -c && \
29 unzip ninja-linux.zip -d /usr/local/bin && \
30 rm ninja-linux.zip
2331
2432 # Import public key required for verifying signature of cmake download.
2533 RUN gpg --keyserver hkp://pgp.mit.edu --recv 0x2D2CEF1034921684