From 87c61def9b26f1c55f84f1e4d705f10318ce9070 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 31 Mar 2024 19:04:49 +0800 Subject: [PATCH] Fix missing C++ toolchain --- .github/workflows/cross.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cross.yaml b/.github/workflows/cross.yaml index 3304450..fbd4f35 100644 --- a/.github/workflows/cross.yaml +++ b/.github/workflows/cross.yaml @@ -89,11 +89,11 @@ jobs: - name: Run test (64 bit linux) run: | sudo apt-get update -y - sudo apt-get install -y libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl gzip - sudo apt-get install -y gcc-arm-linux-gnueabihf + sudo apt-get install -y libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl gzip libstdc++-11-dev + sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf sudo dpkg --add-architecture armhf sudo apt-get update -y - sudo apt-get install -y libncurses-dev:armhf + sudo apt-get install -y libncurses-dev:armhf libstdc++-11-dev:armhf # ld.bfd is broken on armv7: https://sourceware.org/bugzilla/show_bug.cgi?id=16177 update-alternatives --install "/usr/bin/x86_64-linux-gnu-ld" "ld" "/usr/bin/x86_64-linux-gnu-ld.gold" 20 update-alternatives --install "/usr/bin/x86_64-linux-gnu-ld" "ld" "/usr/bin/x86_64-linux-gnu-ld.bfd" 10