Skip to content

Commit

Permalink
build(ppc64): set gcc-10 as default
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Oct 14, 2024
1 parent 4c89154 commit 44a7ba0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions focal-devtoolset-ppc64le/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ RUN curl -L -O https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-li
# install yarn & node-gyp
RUN npm install -g yarn node-gyp

# Set gcc-10 as default
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/powerpc64le-linux-gnu-gcc-10 10
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/powerpc64le-linux-gnu-g++-10 10

# Check compiler toolchain
RUN gcc --version
RUN g++ --version

RUN mkdir -p /root/vscode
WORKDIR /root/vscode

Expand Down

0 comments on commit 44a7ba0

Please sign in to comment.