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(a)redhat.com>
---
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