Skip to content

Commit

Permalink
Use GCC9, the Ubuntu 20 default, in the superbuild (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphal authored Jan 5, 2025
1 parent cc6b0ab commit a8cd660
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions superbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ RUN apt update && apt install -y \

# Install generic build dependency
RUN apt update && apt install -y \
build-essential \
g++-8 \
gcc-8
build-essential

# Install VTK build dependency
RUN apt update && apt install -y \
Expand Down Expand Up @@ -55,6 +53,3 @@ RUN apt update && apt install -y cmake git git-lfs
# Install sccache
RUN cargo install sccache --version 0.4.2 --locked
ENV PATH="${PATH}:/root/.cargo/bin"

# Use gcc-8 by default
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8

0 comments on commit a8cd660

Please sign in to comment.