Skip to content

Commit

Permalink
downgrade from gcc-13 to gcc-11
Browse files Browse the repository at this point in the history
Internally, bumping from gcc-11 to gcc-13 requires an update of libstdc++
from 8.4.0-1ubuntu1~18.04 to 13.1.0-8ubuntu1~18.04. Our standard images cannot
accept this change, so we must downgrade.
  • Loading branch information
copperlight committed Dec 11, 2024
1 parent 0e2646d commit f96fb91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install System Dependencies
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update && sudo apt-get install -y binutils-dev g++-13 libiberty-dev
sudo apt-get update && sudo apt-get install -y binutils-dev g++-11 libiberty-dev
- name: Build
run: |
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ fi
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
source /etc/os-release
if [[ "$NAME" == "Ubuntu" ]]; then
if [[ -z "$CC" ]]; then export CC=gcc-13; fi
if [[ -z "$CXX" ]]; then export CXX=g++-13; fi
if [[ -z "$CC" ]]; then export CC=gcc-11; fi
if [[ -z "$CXX" ]]; then export CXX=g++-11; fi
fi
fi

Expand Down

0 comments on commit f96fb91

Please sign in to comment.