File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,17 @@ RUN apt-get update -qq && \
88 apt-get clean -y && \
99 rm -rf /var/lib/apt/lists/*
1010
11+ # Manually install a newer version of CMake; this is needed since building
12+ # LLVM requires CMake 3.20, while Ubuntu 20.04 ships with 3.16.3. If
13+ # updating to a newer distribution, this can be dropped.
14+ RUN cd /opt && \
15+ curl -LO https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-Linux-$(uname -m).tar.gz && \
16+ tar -zxf cmake-*.tar.gz && \
17+ rm cmake-*.tar.gz && \
18+ mv cmake-* cmake
19+ ENV PATH=/opt/cmake/bin:$PATH
20+
21+
1122RUN git config --global user.name "LLVM MinGW" && \
1223 git config --global user.email root@localhost
1324
Original file line number Diff line number Diff line change @@ -8,6 +8,17 @@ RUN apt-get update -qq && \
88 apt-get clean -y && \
99 rm -rf /var/lib/apt/lists/*
1010
11+ # Manually install a newer version of CMake; this is needed since building
12+ # LLVM requires CMake 3.20, while Ubuntu 20.04 ships with 3.16.3. If
13+ # updating to a newer distribution, this can be dropped.
14+ RUN cd /opt && \
15+ curl -LO https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-Linux-$(uname -m).tar.gz && \
16+ tar -zxf cmake-*.tar.gz && \
17+ rm cmake-*.tar.gz && \
18+ mv cmake-* cmake
19+ ENV PATH=/opt/cmake/bin:$PATH
20+
21+
1122RUN git config --global user.name "LLVM MinGW" && \
1223 git config --global user.email root@localhost
1324
You can’t perform that action at this time.
0 commit comments