Skip to content

Commit

Permalink
allow overriding gccsuffix separately fixup 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 10, 2023
1 parent 8e413e0 commit 8453d05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _ci-linux-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ set -o xtrace -o errexit -o nounset; [ -n "${BASH:-}${ZSH_NAME:-}" ] && set -o p

cat /etc/*-release

[ -n "${CW_CCSUFFIX:-}" ] || export CW_CCSUFFIX='-16'

extra=''

if [[ "${CW_CONFIG:-}" != *'gcc'* ]]; then
[ -n "${CW_CCSUFFIX:-}" ] || export CW_CCSUFFIX='-16'
extra="${extra} llvm${CW_CCSUFFIX} clang${CW_CCSUFFIX} lld${CW_CCSUFFIX}"
fi

[[ "${CW_CONFIG:-}" = *'boringssl'* ]] && extra="${extra} golang"

if [[ "${CW_CONFIG:-}" = *'win'* ]]; then
Expand Down Expand Up @@ -50,10 +54,6 @@ elif [[ "${CW_CONFIG:-}" = *'linux'* ]]; then
fi
fi

if [[ "${CW_CONFIG:-}" != *'gcc'* ]]; then
extra="${extra} llvm${CW_CCSUFFIX} clang${CW_CCSUFFIX} lld${CW_CCSUFFIX}"
fi

apt-get --quiet 2 --option Dpkg::Use-Pty=0 update
# shellcheck disable=SC2086
apt-get --quiet 2 --option Dpkg::Use-Pty=0 install \
Expand Down

0 comments on commit 8453d05

Please sign in to comment.