1 .cross_system_build_job:
2 extends: .base_job_template
4 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
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:
27 extends: .base_job_template
29 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
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:
39 extends: .base_job_template
41 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
45 - ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS
46 --disable-system --target-list-exclude="aarch64_be-linux-user
47 alpha-linux-user cris-linux-user m68k-linux-user microblazeel-linux-user
48 nios2-linux-user or1k-linux-user ppc-linux-user sparc-linux-user
49 xtensa-linux-user $CROSS_SKIP_TARGETS"
50 - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS