dcavalca / rpms / systemd

Forked from rpms/systemd 4 months ago
Clone
c62b8e
From 1d94abd086b04dabf20f547470d19ad12b969a9a Mon Sep 17 00:00:00 2001
c62b8e
From: Frantisek Sumsal <fsumsal@redhat.com>
c62b8e
Date: Mon, 4 Mar 2019 10:26:46 +0100
c62b8e
Subject: [PATCH] travis: support SMP if available
c62b8e
c62b8e
---
c62b8e
 ci/travis-centos-rhel7.sh | 2 +-
c62b8e
 1 file changed, 1 insertion(+), 1 deletion(-)
c62b8e
c62b8e
diff --git a/ci/travis-centos-rhel7.sh b/ci/travis-centos-rhel7.sh
c62b8e
index 7db3a8db41..bb60012eea 100755
c62b8e
--- a/ci/travis-centos-rhel7.sh
c62b8e
+++ b/ci/travis-centos-rhel7.sh
c62b8e
@@ -51,7 +51,7 @@ for phase in "${PHASES[@]}"; do
c62b8e
             $DOCKER_EXEC ./configure --disable-timesyncd --disable-kdbus --disable-terminal \
c62b8e
                                      --enable-gtk-doc --enable-compat-libs --disable-sysusers \
c62b8e
                                      --disable-ldconfig --enable-lz4 --with-sysvinit-path=/etc/rc.d/init.d
c62b8e
-            $DOCKER_EXEC make
c62b8e
+            $DOCKER_EXEC make -j $(nproc)
c62b8e
             # Run the internal testsuite
c62b8e
             # Let's install the new systemd and "reboot" the container to avoid
c62b8e
             # unexpected fails due to incompatibilities with older systemd