From 6a14e3f5d0546123ce656134fa0f926260ca8ed2 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Wed, 18 Nov 2020 01:18:38 -0500 Subject: [PATCH] linux-fresh: Update to GCC 10.2 While we're at it, also update conan packages. Required for texture cache updates. --- linux-fresh/Dockerfile | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/linux-fresh/Dockerfile b/linux-fresh/Dockerfile index 297e38c..db8e0e3 100644 --- a/linux-fresh/Dockerfile +++ b/linux-fresh/Dockerfile @@ -5,11 +5,17 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \ DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y full-upgrade && \ DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \ build-essential \ + gcc-10 \ + g++-10 \ + libavcodec-dev \ + libavutil-dev \ + libswscale-dev \ libboost-all-dev \ liblz4-dev \ + libmbedtls-dev \ + libopus-dev \ libsdl2-dev \ libssl-dev \ - libopus-dev \ libzip-dev \ libzstd-dev \ zlib1g-dev \ @@ -20,17 +26,19 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \ qttools5-dev \ qtwebengine5-dev \ libqt5opengl5-dev \ + rapidjson-dev \ wget \ git \ ccache \ cmake \ - libavcodec-dev \ - libavutil-dev \ - libswscale-dev \ ninja-build && \ - pip3 install conan && \ - apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log + pip3 install conan +RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 && \ + update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 +RUN apt-get clean autoclean && \ + apt-get autoremove --yes && \ + rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log USER 1027 RUN conan install catch2/2.13.0@ -s compiler.libcxx=libstdc++11 --build=missing && \ - conan install fmt/7.0.3@ -s compiler.libcxx=libstdc++11 --build=missing && \ + conan install fmt/7.1.2@ -s compiler.libcxx=libstdc++11 --build=missing && \ conan install nlohmann_json/3.9.1@ -s compiler.libcxx=libstdc++11 --build=missing