ee381b7fe1
After adding some missing packages, it's possible to check 32-bit builds and tests with the fedora-i386-cross container in the gitlab-CI, too. Unfortunately, the code in subprojects/ ignores the --extra-cflags (on purpose), so the vhost-user part has to be disabled for this. While we're at it, update the container to Fedora 31. Unfortunately the gcc from the later versions emits some very dubious format-truncation warnings, so Fedora 32 and 33 are currently unsuitable for this job. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Message-Id: <20201215083451.92322-1-thuth@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
27 lines
551 B
Docker
27 lines
551 B
Docker
FROM fedora:31
|
|
ENV PACKAGES \
|
|
bzip2 \
|
|
diffutils \
|
|
findutils \
|
|
gcc \
|
|
git \
|
|
libtasn1-devel.i686 \
|
|
libzstd-devel.i686 \
|
|
make \
|
|
meson \
|
|
ninja-build \
|
|
glib2-devel.i686 \
|
|
glibc-devel.i686 \
|
|
glibc-static.i686 \
|
|
gnutls-devel.i686 \
|
|
nettle-devel.i686 \
|
|
perl-Test-Harness \
|
|
pixman-devel.i686 \
|
|
zlib-devel.i686
|
|
|
|
ENV QEMU_CONFIGURE_OPTS --extra-cflags=-m32 --disable-vhost-user
|
|
ENV PKG_CONFIG_PATH /usr/lib/pkgconfig
|
|
|
|
RUN dnf install -y $PACKAGES
|
|
RUN rpm -q $PACKAGES | sort > /packages.txt
|