Message ID | 20201206185508.3545711-7-philmd@redhat.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | gitlab-ci: Add accelerator-specific Linux jobs | expand |
On Sun, Dec 06, 2020 at 07:55:06PM +0100, Philippe Mathieu-Daudé wrote: > Cross-build PPC target with KVM and TCG accelerators enabled. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> > --- > later this job build KVM-only. > --- > .gitlab-ci.d/crossbuilds-kvm-ppc.yml | 5 +++++ > .gitlab-ci.yml | 1 + > MAINTAINERS | 1 + > 3 files changed, 7 insertions(+) > create mode 100644 .gitlab-ci.d/crossbuilds-kvm-ppc.yml Acked-by: David Gibson <david@gibson.dropbear.id.au> > diff --git a/.gitlab-ci.d/crossbuilds-kvm-ppc.yml b/.gitlab-ci.d/crossbuilds-kvm-ppc.yml > new file mode 100644 > index 00000000000..9df8bcf5a73 > --- /dev/null > +++ b/.gitlab-ci.d/crossbuilds-kvm-ppc.yml > @@ -0,0 +1,5 @@ > +cross-ppc64el-kvm: > + extends: .cross_accel_build_job > + variables: > + IMAGE: debian-ppc64el-cross > + TARGETS: ppc64-softmmu > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > index a69619d7319..024624908e8 100644 > --- a/.gitlab-ci.yml > +++ b/.gitlab-ci.yml > @@ -15,6 +15,7 @@ include: > - local: '/.gitlab-ci.d/crossbuilds-kvm-x86.yml' > - local: '/.gitlab-ci.d/crossbuilds-kvm-arm.yml' > - local: '/.gitlab-ci.d/crossbuilds-kvm-s390x.yml' > + - local: '/.gitlab-ci.d/crossbuilds-kvm-ppc.yml' > > .native_build_job_template: &native_build_job_definition > stage: build > diff --git a/MAINTAINERS b/MAINTAINERS > index d41401f6683..c7766782174 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -397,6 +397,7 @@ PPC KVM CPUs > M: David Gibson <david@gibson.dropbear.id.au> > S: Maintained > F: target/ppc/kvm.c > +F: .gitlab-ci.d/crossbuilds-kvm-ppc.yml > > S390 KVM CPUs > M: Halil Pasic <pasic@linux.ibm.com>
On 06/12/2020 19.55, Philippe Mathieu-Daudé wrote: > Cross-build PPC target with KVM and TCG accelerators enabled. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> > --- > later this job build KVM-only. > --- > .gitlab-ci.d/crossbuilds-kvm-ppc.yml | 5 +++++ > .gitlab-ci.yml | 1 + > MAINTAINERS | 1 + > 3 files changed, 7 insertions(+) > create mode 100644 .gitlab-ci.d/crossbuilds-kvm-ppc.yml > > diff --git a/.gitlab-ci.d/crossbuilds-kvm-ppc.yml b/.gitlab-ci.d/crossbuilds-kvm-ppc.yml > new file mode 100644 > index 00000000000..9df8bcf5a73 > --- /dev/null > +++ b/.gitlab-ci.d/crossbuilds-kvm-ppc.yml > @@ -0,0 +1,5 @@ > +cross-ppc64el-kvm: > + extends: .cross_accel_build_job > + variables: > + IMAGE: debian-ppc64el-cross > + TARGETS: ppc64-softmmu Compilation of the ppc KVM code should already be covered by the cross-ppc64el-system job, see e.g.: https://gitlab.com/qemu-project/qemu/-/jobs/883985074#L297 Thus there is no need to add a new job for this here. It might be a good idea to remove ppc64-softmmu from the exclude list in crossbuilds.yml, though, so that we also check the 64-bit builds and not only the 32-bit ones. Thomas
diff --git a/.gitlab-ci.d/crossbuilds-kvm-ppc.yml b/.gitlab-ci.d/crossbuilds-kvm-ppc.yml new file mode 100644 index 00000000000..9df8bcf5a73 --- /dev/null +++ b/.gitlab-ci.d/crossbuilds-kvm-ppc.yml @@ -0,0 +1,5 @@ +cross-ppc64el-kvm: + extends: .cross_accel_build_job + variables: + IMAGE: debian-ppc64el-cross + TARGETS: ppc64-softmmu diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a69619d7319..024624908e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,7 @@ include: - local: '/.gitlab-ci.d/crossbuilds-kvm-x86.yml' - local: '/.gitlab-ci.d/crossbuilds-kvm-arm.yml' - local: '/.gitlab-ci.d/crossbuilds-kvm-s390x.yml' + - local: '/.gitlab-ci.d/crossbuilds-kvm-ppc.yml' .native_build_job_template: &native_build_job_definition stage: build diff --git a/MAINTAINERS b/MAINTAINERS index d41401f6683..c7766782174 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -397,6 +397,7 @@ PPC KVM CPUs M: David Gibson <david@gibson.dropbear.id.au> S: Maintained F: target/ppc/kvm.c +F: .gitlab-ci.d/crossbuilds-kvm-ppc.yml S390 KVM CPUs M: Halil Pasic <pasic@linux.ibm.com>
Cross-build PPC target with KVM and TCG accelerators enabled. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- later this job build KVM-only. --- .gitlab-ci.d/crossbuilds-kvm-ppc.yml | 5 +++++ .gitlab-ci.yml | 1 + MAINTAINERS | 1 + 3 files changed, 7 insertions(+) create mode 100644 .gitlab-ci.d/crossbuilds-kvm-ppc.yml