[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/8] gitlab-ci: Introduce 'cross_accel_build_job' template
From: |
Claudio Fontana |
Subject: |
Re: [PATCH 2/8] gitlab-ci: Introduce 'cross_accel_build_job' template |
Date: |
Sun, 6 Dec 2020 20:23:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
On 12/6/20 7:55 PM, Philippe Mathieu-Daudé wrote:
> Introduce a job template to cross-build accelerator specific
> jobs (enable a specific accelerator, disabling the others).
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> .gitlab-ci.d/crossbuilds.yml | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/.gitlab-ci.d/crossbuilds.yml b/.gitlab-ci.d/crossbuilds.yml
> index 099949aaef3..be63b209c5b 100644
> --- a/.gitlab-ci.d/crossbuilds.yml
> +++ b/.gitlab-ci.d/crossbuilds.yml
> @@ -13,6 +13,18 @@
> xtensa-softmmu"
> - make -j$(expr $(nproc) + 1) all check-build
>
> +.cross_accel_build_job:
> + stage: build
> + image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
> + timeout: 30m
> + script:
> + - mkdir build
> + - cd build
> + - PKG_CONFIG_PATH=$PKG_CONFIG_PATH
> + ../configure --enable-werror $QEMU_CONFIGURE_OPTS --disable-tools
> + --enable-${ACCEL:-kvm} --target-list="$TARGETS" $ACCEL_CONFIGURE_OPTS
> + - make -j$(expr $(nproc) + 1) all check-build
> +
> .cross_user_build_job:
> stage: build
> image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
>
Hi Philippe,
probably I just don't understand how this works, but
where is the "disabling the others" part?
I see the --enable-${ACCEL:-kvm}, but I would expect some --disable-XXX ?
I am probably just missing something..
Thanks,
Ciao,
Claudio
- [PATCH 0/8] gitlab-ci: Add accelerator-specific Linux jobs, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 1/8] gitlab-ci: Replace YAML anchors by extends (cross_system_build_job), Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 2/8] gitlab-ci: Introduce 'cross_accel_build_job' template, Philippe Mathieu-Daudé, 2020/12/06
- Re: [PATCH 2/8] gitlab-ci: Introduce 'cross_accel_build_job' template,
Claudio Fontana <=
- [PATCH 3/8] gitlab-ci: Add KVM X86 cross-build jobs, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 4/8] gitlab-ci: Add KVM ARM cross-build jobs, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 5/8] gitlab-ci: Add KVM s390x cross-build jobs, Philippe Mathieu-Daudé, 2020/12/06
- [PATCH 6/8] gitlab-ci: Add KVM PPC cross-build jobs, Philippe Mathieu-Daudé, 2020/12/06