1 .cross_system_build_job:
3 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
8 - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
9 ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS
10 --disable-user --target-list-exclude="arm-softmmu cris-softmmu
11 i386-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu
12 mips64-softmmu ppc-softmmu riscv32-softmmu sh4-softmmu
13 sparc-softmmu xtensa-softmmu $CROSS_SKIP_TARGETS"
14 - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS
15 - if grep -q "EXESUF=.exe" config-host.mak;
17 version="$(git describe --match v[0-9]* 2>/dev/null || git rev-parse --short HEAD)";
18 mv -v qemu-setup*.exe qemu-setup-${version}.exe;
21 # Job to cross-build specific accelerators.
23 # Set the $ACCEL variable to select the specific accelerator (default to
24 # KVM), and set extra options (such disabling other accelerators) via the
25 # $EXTRA_CONFIGURE_OPTS variable.
26 .cross_accel_build_job:
28 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
33 - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
34 ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS
35 --disable-tools --enable-${ACCEL:-kvm} $EXTRA_CONFIGURE_OPTS
36 - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS
38 .cross_user_build_job:
40 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
44 - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
45 ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS
47 - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS