[llvm] r323134 - [Dockerfiles] Use a newer version of ninja when building inside debian8.
Ilya Biryukov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 22 09:19:41 PST 2018
Author: ibiryukov
Date: Mon Jan 22 09:19:41 2018
New Revision: 323134
URL: http://llvm.org/viewvc/llvm-project?rev=323134&view=rev
Log:
[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
Modified:
llvm/trunk/utils/docker/debian8/build/Dockerfile
Modified: llvm/trunk/utils/docker/debian8/build/Dockerfile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/docker/debian8/build/Dockerfile?rev=323134&r1=323133&r2=323134&view=diff
==============================================================================
--- llvm/trunk/utils/docker/debian8/build/Dockerfile (original)
+++ llvm/trunk/utils/docker/debian8/build/Dockerfile Mon Jan 22 09:19:41 2018
@@ -19,9 +19,17 @@ RUN grep deb /etc/apt/sources.list | \
# Install compiler, python and subversion.
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates gnupg \
- build-essential python wget subversion ninja-build && \
+ build-essential python wget subversion unzip && \
rm -rf /var/lib/apt/lists/*
+# Install a newer ninja release. It seems the older version in the debian repos
+# randomly crashes when compiling llvm.
+RUN wget "https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip" && \
+ echo "d2fea9ff33b3ef353161ed906f260d565ca55b8ca0568fa07b1d2cab90a84a07 ninja-linux.zip" \
+ | sha256sum -c && \
+ unzip ninja-linux.zip -d /usr/local/bin && \
+ rm ninja-linux.zip
+
# Import public key required for verifying signature of cmake download.
RUN gpg --keyserver hkp://pgp.mit.edu --recv 0x2D2CEF1034921684
More information about the llvm-commits
mailing list