Skip to content

Commit

Permalink
chore(dist) upgrade GCC to version 11 on Centos7
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Jan 17, 2024
1 parent 2fa2d6a commit ba8d507
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions assets/release/Dockerfiles/Dockerfile.amd64.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ RUN yum update -y && \
yum install -y epel-release && \
yum install -y centos-release-scl && \
yum install -y \
devtoolset-8 \
devtoolset-8-gcc-c++ \
devtoolset-8-libatomic-devel \
devtoolset-11 \
devtoolset-11-gcc-c++ \
devtoolset-11-libatomic-devel \
ninja-build \
clang \
cmake3 \
Expand Down
4 changes: 2 additions & 2 deletions util/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ release_bin() {
notice "Building $arch binary..."

if [ "$(get_distro)" = "centos7" ]; then
notice "Enabling devtoolset-8 for CentOS..."
source /opt/rh/devtoolset-8/enable
notice "Enabling devtoolset-11 for CentOS..."
source /opt/rh/devtoolset-11/enable
gcc --version
export CC=gcc
fi
Expand Down

0 comments on commit ba8d507

Please sign in to comment.