File tree Expand file tree Collapse file tree 5 files changed +4
-46
lines changed
Expand file tree Collapse file tree 5 files changed +4
-46
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:20 .04
1+ FROM ubuntu:22 .04
22
33RUN apt-get update -qq && \
44 DEBIAN_FRONTEND="noninteractive" apt-get install -qqy --no-install-recommends \
@@ -8,16 +8,6 @@ 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-
2111
2212RUN git config --global user.name "LLVM MinGW" && \
2313 git config --global user.email root@localhost
Original file line number Diff line number Diff line change @@ -16,18 +16,6 @@ RUN apt-get update -qq && \
1616 apt-get clean -y && \
1717 rm -rf /var/lib/apt/lists/*
1818
19- # Install Autoconf 2.71. Ubuntu 20.04 comes with Autoconf 2.69, but
20- # libffi 3.4.3 or newer requres Autoconf 2.71.
21- RUN curl -LO https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.xz && \
22- tar -Jxvf autoconf-*.tar.xz && \
23- rm autoconf-*.tar.xz && \
24- cd autoconf-* && \
25- ./configure --prefix=/opt/autotools && \
26- make -j$(nproc) install && \
27- rm -rf autoconf-*
28-
29- ENV PATH=/opt/autotools/bin:$PATH
30-
3119COPY build-python.sh .
3220
3321ARG WITH_PYTHON
Original file line number Diff line number Diff line change 1- FROM ubuntu:20 .04
1+ FROM ubuntu:22 .04
22
33RUN apt-get update -qq && \
44 DEBIAN_FRONTEND="noninteractive" apt-get install -qqy --no-install-recommends \
@@ -8,16 +8,6 @@ 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-
2111
2212RUN git config --global user.name "LLVM MinGW" && \
2313 git config --global user.email root@localhost
Original file line number Diff line number Diff line change 1- FROM ubuntu:20 .04
1+ FROM ubuntu:22 .04
22
33RUN apt-get update -qq && \
44 DEBIAN_FRONTEND="noninteractive" apt-get install -qqy --no-install-recommends \
@@ -8,16 +8,6 @@ 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-
2111
2212RUN git config --global user.name "LLVM MinGW" && \
2313 git config --global user.email root@localhost
Original file line number Diff line number Diff line change 2929
3030time docker build -f Dockerfile . -t mstorsjo/llvm-mingw:latest -t mstorsjo/llvm-mingw:$TAG
3131
32- DISTRO=ubuntu-20 .04-$( uname -m)
32+ DISTRO=ubuntu-22 .04-$( uname -m)
3333docker run --rm mstorsjo/llvm-mingw:latest sh -c " cd /opt && mv llvm-mingw llvm-mingw-$TAG -ucrt-$DISTRO && tar -Jcvf - --format=ustar --numeric-owner --owner=0 --group=0 llvm-mingw-$TAG -ucrt-$DISTRO " > llvm-mingw-$TAG -ucrt-$DISTRO .tar.xz
3434
3535if [ -n " $NATIVEONLY " ]; then
You can’t perform that action at this time.
0 commit comments