[libvirt] [jenkins-ci PATCH 2/2] projects: Use {smp} in osinfo-db-master-build

Andrea Bolognani posted 2 patches 7 years, 5 months ago
[libvirt] [jenkins-ci PATCH 2/2] projects: Use {smp} in osinfo-db-master-build
Posted by Andrea Bolognani 7 years, 5 months ago
We were hard-coding '3' instead of using the {smp} yaml variable,
which has been defined specifically for use in this context.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 projects/osinfo-db.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/osinfo-db.yaml b/projects/osinfo-db.yaml
index 9a7d5e1..6fa1895 100644
--- a/projects/osinfo-db.yaml
+++ b/projects/osinfo-db.yaml
@@ -17,7 +17,7 @@
           command: |
             {make_env}
             export PATH=$VIRT_PREFIX/bin:$PATH
-            $MAKE -j3 all
+            $MAKE -j{smp} all
             $MAKE install OSINFO_DB_TARGET="--system"
       - generic-rpm-job:
           parent_jobs: 'osinfo-db-master-build'
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [jenkins-ci PATCH 2/2] projects: Use {smp} in osinfo-db-master-build
Posted by Daniel P. Berrange 7 years, 5 months ago
On Thu, Nov 16, 2017 at 06:28:50PM +0100, Andrea Bolognani wrote:
> We were hard-coding '3' instead of using the {smp} yaml variable,
> which has been defined specifically for use in this context.
> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---
>  projects/osinfo-db.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Daniel P. Berrange <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list