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