Skip to content

Commit

Permalink
_ci-linux-debian.sh: GPPSUFFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Nov 7, 2024
1 parent 3f08d5e commit 45c5737
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ jobs:
DOCKER_CONTENT_TRUST=1
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
export CW_GPPSUFFIX='-11'
docker trust inspect --pretty "${DOCKER_IMAGE}"
time docker pull "${DOCKER_IMAGE}"
docker images --digests
Expand Down Expand Up @@ -169,6 +170,7 @@ jobs:
DOCKER_CONTENT_TRUST=1
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
export CW_GPPSUFFIX='-11'
docker trust inspect --pretty "${DOCKER_IMAGE}"
time docker pull "${DOCKER_IMAGE}"
docker images --digests
Expand Down Expand Up @@ -265,6 +267,7 @@ jobs:
DOCKER_CONTENT_TRUST=1
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
export CW_GPPSUFFIX='-11'
docker trust inspect --pretty "${DOCKER_IMAGE}"
time docker pull "${DOCKER_IMAGE}"
docker images --digests
Expand Down Expand Up @@ -299,6 +302,7 @@ jobs:
DOCKER_CONTENT_TRUST=1
export CW_CCSUFFIX='-15'
export CW_GCCSUFFIX='-12'
export CW_GPPSUFFIX='-11'
docker trust inspect --pretty "${DOCKER_IMAGE}"
time docker pull "${DOCKER_IMAGE}"
docker images --digests
Expand Down
7 changes: 4 additions & 3 deletions _ci-linux-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,13 @@ elif [[ "${CW_CONFIG:-}" = *'linux'* ]]; then
else
# 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"
[ -n "${CW_GPPSUFFIX:-}" ] || CW_GPPSUFFIX='-12'
if [ "$(uname -m)" = 'aarch64' ]; then
extra+=' libc6-dev-amd64-cross libstdc++-11-dev-amd64-cross'
extra+=" libc6-dev-amd64-cross libstdc++${CW_GPPSUFFIX}-dev-amd64-cross"
else
extra+=' libc6-dev-arm64-cross libstdc++-11-dev-arm64-cross'
extra+=" libc6-dev-arm64-cross libstdc++${CW_GPPSUFFIX}-dev-arm64-cross"
fi
[[ "${CW_CONFIG:-}" = *'r64'* ]] && extra+=' libc6-dev-riscv64-cross libstdc++-11-dev-riscv64-cross'
[[ "${CW_CONFIG:-}" = *'r64'* ]] && extra+=" libc6-dev-riscv64-cross libstdc++${CW_GPPSUFFIX}-dev-riscv64-cross"
fi
fi

Expand Down

0 comments on commit 45c5737

Please sign in to comment.