From c9fec3ee8fb8b16e6009398b6df18a56267ba39b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 5 Jul 2021 23:37:05 +0300 Subject: [PATCH] Dockerfile: Add a comment about the manually installed CMake --- Dockerfile | 3 +++ Dockerfile.dev | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index a7ac46c..8f07841 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,9 @@ RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \ apt-get clean -y && \ rm -rf /var/lib/apt/lists/* +# Manually install a newer version of CMake; this is needed since building +# LLVM requires CMake 3.13.4, while Ubuntu 18.04 ships with 3.10.2. If +# updating to a newer distribution, this can be dropped. RUN cd /opt && \ wget https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-Linux-$(uname -m).tar.gz && \ tar -zxvf cmake-*.tar.gz && \ diff --git a/Dockerfile.dev b/Dockerfile.dev index 69a4a1c..ac92237 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -7,6 +7,9 @@ RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \ apt-get clean -y && \ rm -rf /var/lib/apt/lists/* +# Manually install a newer version of CMake; this is needed since building +# LLVM requires CMake 3.13.4, while Ubuntu 18.04 ships with 3.10.2. If +# updating to a newer distribution, this can be dropped. RUN cd /opt && \ wget https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-Linux-$(uname -m).tar.gz && \ tar -zxvf cmake-*.tar.gz && \