55116968de
add the libvfio-user library as a submodule. build it as a meson subproject. libvfio-user is distributed with BSD 3-Clause license and json-c with MIT (Expat) license Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com> Signed-off-by: John G Johnson <john.g.johnson@oracle.com> Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: c2adec87958b081d1dc8775d4aa05c897912f025.1655151679.git.jag.raman@oracle.com [Changed submodule URL to QEMU's libvfio-user mirror on GitLab. The QEMU project mirrors its dependencies so that it can provide full source code even in the event that its dependencies become unavailable. Note that the mirror repo is manually updated, so please contact me to make newer libvfio-user commits available. If I become a bottleneck we can set up a cronjob. Updated scripts/meson-buildoptions.sh to match the meson_options.txt change. Failure to do so can result in scripts/meson-buildoptions.sh being modified by the build system later on and you end up with a dirty working tree. --Stefan] Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
136 lines
3.4 KiB
Docker
136 lines
3.4 KiB
Docker
# THIS FILE WAS AUTO-GENERATED
|
|
#
|
|
# $ lcitool dockerfile --layers all centos-stream-8 qemu
|
|
#
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
|
|
|
FROM quay.io/centos/centos:stream8
|
|
|
|
RUN dnf update -y && \
|
|
dnf install 'dnf-command(config-manager)' -y && \
|
|
dnf config-manager --set-enabled -y powertools && \
|
|
dnf install -y centos-release-advanced-virtualization && \
|
|
dnf install -y epel-release && \
|
|
dnf install -y \
|
|
SDL2-devel \
|
|
alsa-lib-devel \
|
|
bash \
|
|
bc \
|
|
brlapi-devel \
|
|
bzip2 \
|
|
bzip2-devel \
|
|
ca-certificates \
|
|
capstone-devel \
|
|
ccache \
|
|
clang \
|
|
ctags \
|
|
cyrus-sasl-devel \
|
|
daxctl-devel \
|
|
dbus-daemon \
|
|
device-mapper-multipath-devel \
|
|
diffutils \
|
|
findutils \
|
|
fuse3-devel \
|
|
gcc \
|
|
gcc-c++ \
|
|
genisoimage \
|
|
gettext \
|
|
git \
|
|
glib2-devel \
|
|
glib2-static \
|
|
glibc-langpack-en \
|
|
glibc-static \
|
|
glusterfs-api-devel \
|
|
gnutls-devel \
|
|
gtk3-devel \
|
|
hostname \
|
|
jemalloc-devel \
|
|
libaio-devel \
|
|
libasan \
|
|
libattr-devel \
|
|
libbpf-devel \
|
|
libcacard-devel \
|
|
libcap-ng-devel \
|
|
libcmocka-devel \
|
|
libcurl-devel \
|
|
libdrm-devel \
|
|
libepoxy-devel \
|
|
libfdt-devel \
|
|
libffi-devel \
|
|
libgcrypt-devel \
|
|
libiscsi-devel \
|
|
libjpeg-devel \
|
|
json-c-devel \
|
|
libnfs-devel \
|
|
libpmem-devel \
|
|
libpng-devel \
|
|
librbd-devel \
|
|
libseccomp-devel \
|
|
libselinux-devel \
|
|
libslirp-devel \
|
|
libssh-devel \
|
|
libtasn1-devel \
|
|
libubsan \
|
|
liburing-devel \
|
|
libusbx-devel \
|
|
libzstd-devel \
|
|
llvm \
|
|
lttng-ust-devel \
|
|
lzo-devel \
|
|
make \
|
|
mesa-libgbm-devel \
|
|
meson \
|
|
ncurses-devel \
|
|
nettle-devel \
|
|
ninja-build \
|
|
nmap-ncat \
|
|
numactl-devel \
|
|
openssh-clients \
|
|
pam-devel \
|
|
pcre-static \
|
|
perl \
|
|
pixman-devel \
|
|
pkgconfig \
|
|
pulseaudio-libs-devel \
|
|
python3 \
|
|
python3-PyYAML \
|
|
python3-numpy \
|
|
python3-pillow \
|
|
python3-pip \
|
|
python3-sphinx \
|
|
python3-sphinx_rtd_theme \
|
|
python3-virtualenv \
|
|
rdma-core-devel \
|
|
rpm \
|
|
sed \
|
|
snappy-devel \
|
|
spice-protocol \
|
|
spice-server-devel \
|
|
systemd-devel \
|
|
systemtap-sdt-devel \
|
|
tar \
|
|
texinfo \
|
|
usbredir-devel \
|
|
util-linux \
|
|
virglrenderer-devel \
|
|
vte291-devel \
|
|
which \
|
|
xfsprogs-devel \
|
|
zlib-devel \
|
|
zlib-static && \
|
|
dnf autoremove -y && \
|
|
dnf clean all -y && \
|
|
rpm -qa | sort > /packages.txt && \
|
|
mkdir -p /usr/libexec/ccache-wrappers && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/c++ && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/clang && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \
|
|
ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc
|
|
|
|
ENV LANG "en_US.UTF-8"
|
|
ENV MAKE "/usr/bin/make"
|
|
ENV NINJA "/usr/bin/ninja"
|
|
ENV PYTHON "/usr/bin/python3"
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|