Skip to content

Commit

Permalink
Replace Arm GCC to a more recent version
Browse files Browse the repository at this point in the history
The version included in Ubuntu 16.04 repositories in the dist-various-1
docker, Arm GCC version 4.9, does not support the new Armv8-M
architecture.
This commit adds the team-gcc-arm-embedded PPA to get through APT a
newer version of Arm GCC.
  • Loading branch information
hug-dev committed Jan 9, 2019
1 parent 40388ef commit f0d4158
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/ci/docker/dist-various-1/Dockerfile
Expand Up @@ -21,12 +21,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
patch \
libssl-dev \
pkg-config \
gcc-arm-none-eabi \
libnewlib-arm-none-eabi \
qemu-system-arm
qemu-system-arm \
# software-properties-common for the add-apt-repository command
software-properties-common

WORKDIR /build

# Use the team-gcc-arm-embedded PPA for a newer version of Arm GCC
RUN add-apt-repository ppa:team-gcc-arm-embedded/ppa && \
apt-get update && \
apt-get install -y --no-install-recommends gcc-arm-embedded

COPY dist-various-1/build-rumprun.sh /build
RUN ./build-rumprun.sh

Expand Down

0 comments on commit f0d4158

Please sign in to comment.