Skip to content

Commit

Permalink
try installing libstdc++ 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Nov 9, 2024
1 parent 748010c commit fdc5119
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions _ci-linux-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,19 @@ elif [[ "${CW_CONFIG:-}" = *'linux'* ]]; then
# FIXME: workaround for glibc-llvm-riscv64 builds:
[[ "${CW_CONFIG:-}" != *'gcc'* ]] && [[ "${CW_CONFIG:-}" = *'r64'* ]] && extra+=" gcc${CW_GCCSUFFIX}-riscv64-linux-gnu g++${CW_GCCSUFFIX}-riscv64-linux-gnu"
if [ "$(uname -m)" = 'aarch64' ]; then
extra+=" libc6-dev-amd64-cross libstdc++${CW_GCCSUFFIX}-dev:amd64"
extra+=" libc6-dev-amd64-cross"
else
extra+=" libc6-dev-arm64-cross libstdc++${CW_GCCSUFFIX}-dev:arm64"
extra+=" libc6-dev-arm64-cross"
fi
[[ "${CW_CONFIG:-}" = *'r64'* ]] && extra+=" libc6-dev-riscv64-cross libstdc++${CW_GCCSUFFIX}-dev:riscv64"
[[ "${CW_CONFIG:-}" = *'r64'* ]] && extra+=" libc6-dev-riscv64-cross"
fi
if [[ "${CW_CONFIG:-}" = *'boringssl'* ]] || [[ "${CW_CONFIG:-}" = *'awslc'* ]]; then
if [ "$(uname -m)" = 'aarch64' ]; then
extra+=" libstdc++${CW_GCCSUFFIX}-dev:amd64"
else
extra+=" libstdc++${CW_GCCSUFFIX}-dev:arm64"
fi
[[ "${CW_CONFIG:-}" = *'r64'* ]] && extra+=" libstdc++${CW_GCCSUFFIX}-dev:riscv64"
fi
fi

Expand Down

0 comments on commit fdc5119

Please sign in to comment.