[libvirt] [jenkins-ci PATCH 1/7] projects: make sure that we use correct make for all projects

Andrea Bolognani abologna at redhat.com
Wed Nov 1 13:36:58 UTC 2017


On Wed, 2017-11-01 at 14:26 +0100, Pavel Hrdina wrote:
> On FreeBSD we need to use gmake.
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  projects/libvirt-cim.yaml |  8 +++++---
>  projects/osinfo-db.yaml   | 10 ++++++----
>  2 files changed, 11 insertions(+), 7 deletions(-)
> 
> diff --git a/projects/libvirt-cim.yaml b/projects/libvirt-cim.yaml
> index e1c8fb1..b5405f3 100644
> --- a/projects/libvirt-cim.yaml
> +++ b/projects/libvirt-cim.yaml
> @@ -12,12 +12,14 @@
>        - generic-build-job:
>            parent_jobs: 'libvirt-master-build'
>            command: |
> +            {make_env}
>              ./autogen.sh
>              ./configure --prefix=$VIRT_PREFIX
> -            make -j{smp}
> -            make -j{smp} install
> +            $MAKE -j{smp}
> +            $MAKE -j{smp} install
>        - generic-rpm-job:
>            parent_jobs: 'libvirt-cim-master-build'
>            command: |
> +            {make_env}
>              sed -i -e "s/.*libvirt-devel.*//" libvirt-cim.spec.in
> -            make -j{smp} rpm
> +            $MAKE -j{smp} rpm

This is good, but you also need the same changes in
jobs/perl-makemaker.yaml or libvirt-perl builds will fail on FreeBSD.

With that taken care of,

  Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list