17 # Development packages, EXTRA_PKGS saved for additional builds
18 - CORE_PKGS="libusb-1.0-0-dev libiscsi-dev librados-dev libncurses5-dev"
19 - NET_PKGS="libseccomp-dev libgnutls-dev libssh2-1-dev libspice-server-dev libspice-protocol-dev libnss3-dev"
20 - GUI_PKGS="libgtk-3-dev libvte-2.90-dev libsdl1.2-dev libpng12-dev libpixman-1-dev"
23 # Group major targets together with their linux-user counterparts
24 - TARGETS=alpha-softmmu,alpha-linux-user
25 - TARGETS=arm-softmmu,arm-linux-user,armeb-linux-user,aarch64-softmmu,aarch64-linux-user
26 - TARGETS=cris-softmmu,cris-linux-user
27 - TARGETS=i386-softmmu,i386-linux-user,x86_64-softmmu,x86_64-linux-user
28 - TARGETS=m68k-softmmu,m68k-linux-user
29 - TARGETS=microblaze-softmmu,microblazeel-softmmu,microblaze-linux-user,microblazeel-linux-user
30 - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu
31 - TARGETS=mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,mipsn32-linux-user,mipsn32el-linux-user
32 - TARGETS=or32-softmmu,or32-linux-user
33 - TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu,ppc-linux-user,ppc64-linux-user,ppc64abi32-linux-user,ppc64le-linux-user
34 - TARGETS=s390x-softmmu,s390x-linux-user
35 - TARGETS=sh4-softmmu,sh4eb-softmmu,sh4-linux-user sh4eb-linux-user
36 - TARGETS=sparc-softmmu,sparc64-softmmu,sparc-linux-user,sparc32plus-linux-user,sparc64-linux-user
37 - TARGETS=unicore32-softmmu,unicore32-linux-user
38 # Group remaining softmmu only targets into one build
39 - TARGETS=lm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmmu,xtensaeb-softmmu
41 # we want to do this ourselves
44 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
45 - git submodule update --init --recursive
46 - sudo apt-get update -qq
47 - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS}
49 - ./configure --target-list=${TARGETS} --enable-debug-tcg ${EXTRA_CONFIG}
51 - make -j2 && ${TEST_CMD}
53 # We manually include a number of additional build for non-standard bits
55 # Make check target (we only do this once)
57 - TARGETS=alpha-softmmu,arm-softmmu,aarch64-softmmu,cris-softmmu,
58 i386-softmmu,x86_64-softmmu,m68k-softmmu,microblaze-softmmu,
59 microblazeel-softmmu,mips-softmmu,mips64-softmmu,
60 mips64el-softmmu,mipsel-softmmu,or32-softmmu,ppc-softmmu,
61 ppc64-softmmu,ppcemb-softmmu,s390x-softmmu,sh4-softmmu,
62 sh4eb-softmmu,sparc-softmmu,sparc64-softmmu,
63 unicore32-softmmu,unicore32-linux-user,
64 lm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmmu,
68 # Debug related options
69 - env: TARGETS=i386-softmmu,x86_64-softmmu
70 EXTRA_CONFIG="--enable-debug"
72 - env: TARGETS=i386-softmmu,x86_64-softmmu
73 EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter"
75 # All the extra -dev packages
76 - env: TARGETS=i386-softmmu,x86_64-softmmu
77 EXTRA_PKGS="libaio-dev libcap-ng-dev libattr1-dev libbrlapi-dev uuid-dev libusb-1.0.0-dev"
79 # Currently configure doesn't force --disable-pie
80 - env: TARGETS=i386-softmmu,x86_64-softmmu
81 EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie"
83 - env: TARGETS=i386-softmmu,x86_64-softmmu
85 EXTRA_CONFIG="--enable-sparse"
87 # All the trace backends (apart from dtrace)
88 - env: TARGETS=i386-softmmu,x86_64-softmmu
89 EXTRA_CONFIG="--enable-trace-backends=stderr"
91 - env: TARGETS=i386-softmmu,x86_64-softmmu
92 EXTRA_CONFIG="--enable-trace-backends=simple"
94 - env: TARGETS=i386-softmmu,x86_64-softmmu
95 EXTRA_CONFIG="--enable-trace-backends=ftrace"
97 - env: TARGETS=i386-softmmu,x86_64-softmmu
98 EXTRA_PKGS="liblttng-ust-dev liburcu-dev"
99 EXTRA_CONFIG="--enable-trace-backends=ust"
101 - env: TARGETS=i386-softmmu,x86_64-softmmu
102 EXTRA_CONFIG="--enable-modules"