diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 596d8f57639..1da9ab7f751 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -31,21 +31,23 @@ runs: run: | set -e + sudo add-apt-repository ppa:ubuntu-toolchain-r/test + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main' sudo apt-get update -y sudo apt-get install -y autoconf autoconf-archive automake build-essential ccache cmake curl fonts-liberation2 \ - gcc-13 g++-13 libcurl4-openssl-dev libegl1-mesa-dev libgl1-mesa-dev libpulse-dev libssl-dev \ - libstdc++-13-dev lld-19 nasm ninja-build qt6-base-dev qt6-tools-dev-tools tar unzip zip + gcc-14 g++-14 libcurl4-openssl-dev libegl1-mesa-dev libgl1-mesa-dev libpulse-dev libssl-dev \ + libstdc++-14-dev lld-19 nasm ninja-build qt6-base-dev qt6-tools-dev-tools tar unzip zip if ${{ inputs.toolchain == 'Clang' }} ; then sudo apt-get install -y clang-19 clang++-19 clang-tools-19 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-19 100 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 100 fi - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100 + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100 + sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100 # FIXME: https://github.com/WebAssembly/wabt/issues/2533 # wabt doesn't have binary releases for arm64 Linux diff --git a/.github/workflows/lagom-template.yml b/.github/workflows/lagom-template.yml index 9091c3002ec..31900d4c3ec 100644 --- a/.github/workflows/lagom-template.yml +++ b/.github/workflows/lagom-template.yml @@ -74,8 +74,8 @@ jobs: echo "host_cc=clang-19" >> "$GITHUB_OUTPUT" echo "host_cxx=clang++-19" >> "$GITHUB_OUTPUT" elif ${{ inputs.toolchain == 'GNU' }} ; then - echo "host_cc=gcc-13" >> "$GITHUB_OUTPUT" - echo "host_cxx=g++-13" >> "$GITHUB_OUTPUT" + echo "host_cc=gcc-14" >> "$GITHUB_OUTPUT" + echo "host_cxx=g++-14" >> "$GITHUB_OUTPUT" fi elif ${{ inputs.os_name == 'macOS' }} ; then echo "host_cc=$(xcrun --find clang)" >> "$GITHUB_OUTPUT" diff --git a/Documentation/BuildInstructionsLadybird.md b/Documentation/BuildInstructionsLadybird.md index afe5cfcfcde..c3953a08253 100644 --- a/Documentation/BuildInstructionsLadybird.md +++ b/Documentation/BuildInstructionsLadybird.md @@ -4,7 +4,7 @@ Qt6 development packages, nasm, additional build tools, and a C++23 capable compiler are required. -We currently use gcc-13 and clang-19 in our CI pipeline. If these versions are not available on your system, see +We currently use gcc-14 and clang-19 in our CI pipeline. If these versions are not available on your system, see [`Meta/find_compiler.sh`](../Meta/find_compiler.sh) for the minimum compatible version. CMake 3.25 or newer must be available in $PATH. @@ -62,7 +62,7 @@ sudo apt update -y && sudo apt install clang-19 clangd-19 clang-tools-19 clang-f ```bash sudo add-apt-repository ppa:ubuntu-toolchain-r/test -sudo apt update && sudo apt install g++-13 libstdc++-13-dev +sudo apt update && sudo apt install g++-14 libstdc++-14-dev ``` #### Audio support: @@ -94,7 +94,7 @@ sudo dnf install autoconf-archive automake ccache cmake curl liberation-sans-fon ### openSUSE: ``` -sudo zypper install autoconf-archive automake ccache cmake curl gcc13 gcc13-c++ liberation-fonts libglvnd-devel nasm ninja qt6-base-devel qt6-multimedia-devel qt6-tools-devel qt6-wayland-devel tar unzip zip +sudo zypper install autoconf-archive automake ccache cmake curl gcc14 gcc14-c++ liberation-fonts libglvnd-devel nasm ninja qt6-base-devel qt6-multimedia-devel qt6-tools-devel qt6-wayland-devel tar unzip zip ``` The build process requires at least python3.7; openSUSE Leap only features Python 3.6 as default, so it is recommendable to install package python311 and create a virtual environment (venv) in this case.