[jenkins-ci PATCH v2 1/3] jobs: Enable parallel make everywhere

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A few jobs were running serial make for no apparent reason.

Almost all Makefiles have been tested and found to work just
fine even with parallel execution, the only exception being
those generated by some versions of ExtUtils::MakeMaker;
ensure parallel make is used everywhere else.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 jobs/perl-makemaker.yaml | 2 ++
 projects/osinfo-db.yaml  | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/jobs/perl-makemaker.yaml b/jobs/perl-makemaker.yaml
index 84b368e..08f7162 100644
--- a/jobs/perl-makemaker.yaml
+++ b/jobs/perl-makemaker.yaml
@@ -43,6 +43,8 @@
           perl Makefile.PL PREFIX="$VIRT_PREFIX"
           {global_env}
           {local_env}
+          # Makefiles generated by some versions of ExtUtils::MakeMaker
+          # fail when parallel make is used, so we have to avoid it here
           $MAKE
           $MAKE -j{smp} install
           $MAKE -j{smp} manifest
diff --git a/projects/osinfo-db.yaml b/projects/osinfo-db.yaml
index 0d0a972..b30a541 100644
--- a/projects/osinfo-db.yaml
+++ b/projects/osinfo-db.yaml
@@ -8,7 +8,7 @@
           parent_jobs: 'osinfo-db-tools-master-build'
           command: |
             $MAKE -j{smp} all
-            $MAKE install OSINFO_DB_TARGET="--system"
+            $MAKE -j{smp} install OSINFO_DB_TARGET="--system"
       - generic-check-job:
           parent_jobs: 'osinfo-db-master-build'
           command: |
@@ -18,6 +18,6 @@
           machines: '{rpm_machines}'
           command: |
             rm -f *.tar.xz
-            $MAKE osinfo-db.spec
+            $MAKE -j{smp} osinfo-db.spec
             perl -i -p -e 's/BuildRequires: osinfo-db-tools.*//' osinfo-db.spec
-            $MAKE rpm
+            $MAKE -j{smp} rpm
-- 
2.17.0

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux