xref: /openbmc/qemu/tests/docker/test-full (revision 7f709ce7)
1#!/bin/bash
2#
3# Compile all the targets with as many features enabled as possible
4#
5# Copyright 2016, 2017 Red Hat Inc.
6#
7# Authors:
8#  Fam Zheng <famz@redhat.com>
9#
10# This work is licensed under the terms of the GNU GPL, version 2
11# or (at your option) any later version. See the COPYING file in
12# the top-level directory.
13
14. common.rc
15
16cd "$BUILD_DIR" || exit 1
17
18build_qemu \
19    --enable-attr \
20    --enable-bluez \
21    --enable-brlapi \
22    --enable-bsd-user \
23    --enable-bzip2 \
24    --enable-cap-ng \
25    --enable-coroutine-pool \
26    --enable-crypto-afalg \
27    --enable-curl \
28    --enable-curses \
29    --enable-debug \
30    --enable-debug-info \
31    --enable-debug-tcg \
32    --enable-docs \
33    --enable-fdt \
34    --enable-gcrypt \
35    --enable-glusterfs \
36    --enable-gnutls \
37    --enable-gprof \
38    --enable-gtk \
39    --enable-guest-agent \
40    --enable-jemalloc \
41    --enable-kvm \
42    --enable-libiscsi \
43    --enable-libnfs \
44    --enable-libssh2 \
45    --enable-libusb \
46    --enable-linux-aio \
47    --enable-linux-user \
48    --enable-live-block-migration \
49    --enable-lzo \
50    --enable-modules \
51    --enable-numa \
52    --enable-opengl \
53    --enable-pie \
54    --enable-profiler \
55    --enable-qom-cast-debug \
56    --enable-rbd \
57    --enable-rdma \
58    --enable-replication \
59    --enable-sdl \
60    --enable-seccomp \
61    --enable-smartcard \
62    --enable-snappy \
63    --enable-spice \
64    --enable-stack-protector \
65    --enable-system \
66    --enable-tcg \
67    --enable-tcg-interpreter \
68    --enable-tools \
69    --enable-tpm \
70    --enable-trace-backend=ftrace \
71    --enable-usb-redir \
72    --enable-user \
73    --enable-vde \
74    --enable-vhost-net \
75    --enable-vhost-scsi \
76    --enable-vhost-user \
77    --enable-vhost-vsock \
78    --enable-virtfs \
79    --enable-vnc \
80    --enable-vnc-jpeg \
81    --enable-vnc-png \
82    --enable-vnc-sasl \
83    --enable-vte \
84    --enable-werror \
85    --enable-xen \
86    --enable-xen-pci-passthrough \
87    --enable-xen-pv-domain-build \
88    --enable-xfsctl \
89&& make check $MAKEFLAGS && install_qemu
90