1 .cross_system_build_job:
2 extends: .base_job_template
4 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
9 - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
10 ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS
11 --disable-user --target-list-exclude="arm-softmmu cris-softmmu
12 i386-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu
13 mips64-softmmu ppc-softmmu riscv32-softmmu sh4-softmmu
14 sparc-softmmu xtensa-softmmu $CROSS_SKIP_TARGETS"
15 - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS
16 - if grep -q "EXESUF=.exe" config-host.mak;
18 version="$(git describe --match v[0-9]* 2>/dev/null || git rev-parse --short HEAD)";
19 mv -v qemu-setup*.exe qemu-setup-${version}.exe;
22 # Job to cross-build specific accelerators.
24 # Set the $ACCEL variable to select the specific accelerator (default to
25 # KVM), and set extra options (such disabling other accelerators) via the
26 # $EXTRA_CONFIGURE_OPTS variable.
27 .cross_accel_build_job:
28 extends: .base_job_template
30 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
35 - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
36 ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS
37 --disable-tools --enable-${ACCEL:-kvm} $EXTRA_CONFIGURE_OPTS
38 - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS
40 .cross_user_build_job:
41 extends: .base_job_template
43 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
47 - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
48 ../configure --enable-werror --disable-docs $QEMU_CONFIGURE_OPTS
49 --disable-system --target-list-exclude="aarch64_be-linux-user
50 alpha-linux-user cris-linux-user m68k-linux-user microblazeel-linux-user
51 nios2-linux-user or1k-linux-user ppc-linux-user sparc-linux-user
52 xtensa-linux-user $CROSS_SKIP_TARGETS"
53 - make -j$(expr $(nproc) + 1) all check-build $MAKE_CHECK_ARGS