fresh: Update GCC, Clang, CMake
Using GCC 11, Clang 14, and CMake 3.16.9 (latest version of 3.16). Also adds lld-14 and llvm-14-linker-tools, the latter provides Polly and the former is required to use ThinLTO and/or Polly.
This commit is contained in:
parent
913edcbb37
commit
308dcb3f62
1 changed files with 5 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
LABEL maintainer="yuzu"
|
LABEL maintainer="yuzu"
|
||||||
|
|
||||||
ENV CLANG_VER=12
|
ENV CLANG_VER=14
|
||||||
ENV CMAKE_VER=3.16.3
|
ENV CMAKE_VER=3.16.9
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
ENV GCC_VER=10
|
ENV GCC_VER=11
|
||||||
ENV QT_PKG_VER=515
|
ENV QT_PKG_VER=515
|
||||||
ENV QT_VER=5.15.2
|
ENV QT_VER=5.15.2
|
||||||
ENV UBUNTU_VER=bionic
|
ENV UBUNTU_VER=bionic
|
||||||
|
@ -69,6 +69,8 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
||||||
apt-get update -y && \
|
apt-get update -y && \
|
||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
clang-${CLANG_VER} && \
|
clang-${CLANG_VER} && \
|
||||||
|
lld-${CLANG_VER} && \
|
||||||
|
llvm-${CLANG_VER}-linker-tools && \
|
||||||
ln -s $(which clang-${CLANG_VER}) /usr/bin/clang && \
|
ln -s $(which clang-${CLANG_VER}) /usr/bin/clang && \
|
||||||
ln -s $(which clang++-${CLANG_VER}) /usr/bin/clang++ && \
|
ln -s $(which clang++-${CLANG_VER}) /usr/bin/clang++ && \
|
||||||
dpkg-reconfigure ccache && \
|
dpkg-reconfigure ccache && \
|
||||||
|
|
Loading…
Reference in a new issue