Skip to contentSkip to conversation

tests/docker: Add flex/bison to `debian-hexagon-cross`

PATCH In review Anton Johansson via 2 participants 2 messages Oct 14, 2022 – Oct 16, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/docker: Add flex/bison to `debian-hexagon-cross`

debian-hexagon-cross contains two images, one to build the toolchain used for building the Hexagon tests themselves, and one image to build QEMU and run the tests.

This commit adds flex/bison to the final image that builds QEMU so that it can also build idef-parser.

Note: This container is not built by the CI and needs to be rebuilt and updated manually.

---
 tests/docker/dockerfiles/debian-hexagon-cross.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/debian-hexagon-cross.docker +1 -1
index 8d219bb81d..c4238e893f 100644
@@ -43,7 +43,7 @@ RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.lis
 # Install QEMU build deps for use in CI
 RUN apt update && \
     DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
-    DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy git ninja-build && \
+    DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy bison flex git ninja-build && \
     DEBIAN_FRONTEND=noninteractive eatmydata \
     apt build-dep -yy --arch-only qemu
 COPY --from=0 /usr/local /usr/local

--
2.37.3

#1 lore raw
Quoted 9 lines · Anton Johansson

debian-hexagon-cross contains two images, one to build the toolchain used for building the Hexagon tests themselves, and one image to build QEMU and run the tests.

This commit adds flex/bison to the final image that builds QEMU so that it can also build idef-parser.

Note: This container is not built by the CI and needs to be rebuilt and updated manually.

Queued to testing/next, thanks.

Signature · 1 line
Alex Bennée