Skip to content

Commit

Permalink
Updated config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yushiqie committed Apr 30, 2024
1 parent 95ea90d commit 484d92e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ commands:
- run:
name: "make build-envoy-local"
command: |
ARCH=$(uname -m)
GCC_VERSION=$(gcc --version)
echo "current gcc version: $GCC_VERSION"
if [[ $ARCH = "aarch64" || $ARCH == "arm64" ]]; then
echo "upgrade gcc version to 11 for $ARCH"
apt-get update
apt-get install gcc-11 g++-11 -y
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 1100 --slave /usr/bin/g++ g++ /usr/bin/g++-11
fi
git submodule update --init
git config --global --add safe.directory ./
make build-envoy-local
Expand Down

0 comments on commit 484d92e

Please sign in to comment.