Skip to content

Commit ca30386

Browse files
committed
Dockerfile.cross: Download a newer version of cmake than what the base distribution has
When building lldb for windows with the llvm 10.0.0 version, cmake 3.13 is required. (Ubuntu 18.04 comes with cmake 3.10.2.)
1 parent 2c1a464 commit ca30386

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile.cross

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ RUN apt-get update -qq && \
1616
apt-get clean -y && \
1717
rm -rf /var/lib/apt/lists/*
1818

19+
RUN cd /opt && \
20+
wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2-Linux-x86_64.tar.gz && \
21+
tar -zxvf cmake-*.tar.gz && \
22+
rm cmake-*.tar.gz && \
23+
mv cmake-* cmake
24+
ENV PATH=/opt/cmake/bin:$PATH
25+
1926
ARG CROSS_ARCH=x86_64
2027
ENV CROSS_TOOLCHAIN_PREFIX=/opt/llvm-mingw-$CROSS_ARCH
2128

0 commit comments

Comments
 (0)