Skip to content

Commit

Permalink
Update to gcc 11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyubo committed Jul 28, 2021
1 parent 9b073f7 commit 716d6cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
Run the following command to build gcc-11/aarch64-gcc-11:

cd amd64/gcc-11-ubuntu
docker build -t gcc-11:ubuntu-20.04 --build-arg UbuntuVersion=20.04 .
docker run --rm --entrypoint cat gcc-11:ubuntu-20.04 /gcc-11.1.0-2-ubuntu-20.04.deb > /tmp/gcc-11.1.0-2-ubuntu-20.04.deb
docker build -t gcc-11.2:ubuntu-20.04 --build-arg UbuntuVersion=20.04 .
docker run --rm --entrypoint cat gcc-11.2:ubuntu-20.04 /gcc-11.2.0-1-ubuntu-20.04.deb > /tmp/gcc-11.2.0-1-ubuntu-20.04.deb

## Build gcc-11/aarch64-gcc-11 for Ubuntu 18.04

Run the following command to build gcc-11/aarch64-gcc-11:

cd amd64/gcc-11-ubuntu
docker build -t gcc-11:ubuntu-18.04 --build-arg UbuntuVersion=18.04 .
docker run --rm --entrypoint cat gcc-11:ubuntu-18.04 /gcc-11.1.0-2-ubuntu-18.04.deb > /tmp/gcc-11.1.0-2-ubuntu-18.04.deb
docker build -t gcc-11.2:ubuntu-18.04 --build-arg UbuntuVersion=18.04 .
docker run --rm --entrypoint cat gcc-11.2:ubuntu-18.04 /gcc-11.2.0-1-ubuntu-18.04.deb > /tmp/gcc-11.2.0-1-ubuntu-18.04.deb

## Install

Now you can install it:

sudo apt install -y /tmp/gcc-11.1.0-2-ubuntu-20.04.deb
sudo apt install -y /tmp/gcc-11.2.0-1-ubuntu-20.04.deb

Set gcc-11/aarch64-gcc-11 as high priority:

Expand Down
4 changes: 2 additions & 2 deletions amd64/gcc-11-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ ARG UbuntuVersion=20.04
FROM ubuntu:$UbuntuVersion

ARG UbuntuVersion=20.04
ARG Gcc11Version=11.1.0
ARG BuildVersion=2
ARG Gcc11Version=11.2.0
ARG BuildVersion=1

# Download gcc source code
RUN apt update && apt install -y wget build-essential flex libz-dev libzstd-dev
Expand Down

0 comments on commit 716d6cb

Please sign in to comment.