Skip to content

Commit

Permalink
Switch to gcc10 instead of gcc9 for chip build base
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Aug 2, 2023
1 parent 0bb6543 commit ade645a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion integrations/docker/images/base/chip-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN set -x \
clang-tidy \
curl \
flex \
g++ \
g++-10 \
git \
git-lfs \
gperf \
Expand Down Expand Up @@ -98,6 +98,16 @@ RUN set -x \
&& git lfs install \
&& : # last line

# Set gcc 10 as a default compiler to work with TSAN
RUN set -x \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 \
&& update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30 \
&& update-alternatives --set cc /usr/bin/gcc \
&& update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30 \
&& update-alternatives --set c++ /usr/bin/g++ \
&& : # last line

# Cmake v3.23.1
ENV CMAKE_PLATFORM_VERSION=
RUN case ${TARGETPLATFORM} in \
Expand Down

0 comments on commit ade645a

Please sign in to comment.