@samitouri / QOSamiQemu / commits / b739a5e1bf

tests/docker: add flex and bison to emsdk-wasm64-cross

The hexagon idef-parser requires flex and bison as host build tools. Add them to the emsdk-wasm64-cross container image so that wasm64 builds including hexagon-softmmu can find them. Link: https://lore.kernel.org/qemu-devel/CAJSP0QVk6wsOnPAspC4YfXRp90saKibQfD4Mk-44-RQo0k=z3w@mail.gmail.com/ Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>

Brian Cain committed Jun 23, 2026 at 22:48 UTC b739a5e1bf09cfb7e14821f4dbccae549763c6ee
1 file changed +2
tests/docker/dockerfiles/emsdk-wasm64-cross.docker
+2
@@ -19,7 +19,9 @@ ENV CXXFLAGS="$CFLAGS"
19 ENV LDFLAGS="-sWASM_BIGINT -sASYNCIFY=1 -L$TARGET/lib"
20 RUN apt-get update && apt-get install -y \
21 autoconf \
22 + bison \
23 build-essential \
24 + flex \
25 libglib2.0-dev \
26 libtool \
27 pkgconf \