Skip to content

Commit

Permalink
Switch to g++-12, g++-13 not available in jammy repos.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheorey committed Sep 17, 2024
1 parent c7c2c03 commit 05cf179
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ RUN if [ "${BUILD_SYCL_MODULE}" = "ON" ]; then \

# Dependencies: basic and python-build
# gcc-11 causes a seg fault in tensormap when built in Release mode. Upgrade to
# gcc-13 instead.
# gcc-12 instead.
RUN apt-get update && apt-get install -y \
git \
wget \
Expand All @@ -90,8 +90,8 @@ RUN apt-get update && apt-get install -y \
libffi-dev \
liblzma-dev \
&& if c++ --version | grep -F ' 11.' ; then \
apt-get install -y g++-13 \
&& update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-13 100 \
apt-get install -y g++-12 \
&& update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-12 100 \
&& c++ --version; \
fi \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 05cf179

Please sign in to comment.