Skip to content

Commit f0d4158

Browse files
committed
Replace Arm GCC to a more recent version
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.
1 parent 40388ef commit f0d4158

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/ci/docker/dist-various-1/Dockerfile

+8-2
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2121
patch \
2222
libssl-dev \
2323
pkg-config \
24-
gcc-arm-none-eabi \
2524
libnewlib-arm-none-eabi \
26-
qemu-system-arm
25+
qemu-system-arm \
26+
# software-properties-common for the add-apt-repository command
27+
software-properties-common
2728

2829
WORKDIR /build
2930

31+
# Use the team-gcc-arm-embedded PPA for a newer version of Arm GCC
32+
RUN add-apt-repository ppa:team-gcc-arm-embedded/ppa && \
33+
apt-get update && \
34+
apt-get install -y --no-install-recommends gcc-arm-embedded
35+
3036
COPY dist-various-1/build-rumprun.sh /build
3137
RUN ./build-rumprun.sh
3238

0 commit comments

Comments
 (0)