2 # Docker ppc64el cross-compiler target
4 # This docker target builds on the debian Stretch base image.
8 # Add the foreign architecture we want and install dependencies
9 RUN dpkg --add-architecture ppc64el && \
11 apt install -yy crossbuild-essential-ppc64el
14 DEBIAN_FRONTEND=noninteractive eatmydata \
15 apt build-dep -yy -a ppc64el --arch-only qemu
17 # Specify the cross prefix for this image (see tests/docker/common.rc)
18 ENV QEMU_CONFIGURE_OPTS --cross-prefix=powerpc64le-linux-gnu-
19 ENV DEF_TARGET_LIST ppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user
21 # Install extra libraries to increase code coverage
23 DEBIAN_FRONTEND=noninteractive eatmydata \
24 apt install -y --no-install-recommends \
27 librdmacm-dev:ppc64el \