Skip to content

Commit

Permalink
try snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkeane committed Dec 9, 2024
1 parent b3d1413 commit bd4d541
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ci/docker/ubuntu-24.04-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,15 @@ RUN if [ "${gcc_version}" = "" ]; then \
add-apt-repository ppa:ubuntu-toolchain-r/volatile; \
fi; \
apt-get update -y -q && \
apt-get install -y -q --no-install-recommends \
if [ "${gcc_version}" -gt "14" ]; then \
apt-get install -y -q --no-install-recommends \
g++-snapshot \
gcc-snapshot; \
else \
apt-get install -y -q --no-install-recommends \
g++-${gcc_version} \
gcc-${gcc_version} && \
gcc-${gcc_version}; \
fi; \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${gcc_version} 100 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${gcc_version} 100 && \
update-alternatives --install \
Expand Down

0 comments on commit bd4d541

Please sign in to comment.