From e536d578724f6932763b27501024a09b671b5046 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Thu, 3 Sep 2015 11:53:50 +0300 Subject: [PATCH] dist/redhat/scylla-server.spec: Limit ninja-build jobs Our C++ compilation takes up so much memory that we cannot really use RPM defaults. Limit the number of jobs to 2 for now to fix SIGBUS errors in VMs as well as swap storm when building with mock. Signed-off-by: Pekka Enberg --- dist/redhat/scylla-server.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/redhat/scylla-server.spec b/dist/redhat/scylla-server.spec index 6c41e82c38..acb0520934 100644 --- a/dist/redhat/scylla-server.spec +++ b/dist/redhat/scylla-server.spec @@ -24,7 +24,7 @@ Provides: cassandra21 %build ./configure.py --with scylla --disable-xen --enable-dpdk --mode=release -ninja-build %{?_smp_mflags} +ninja-build -j2 %install rm -rf $RPM_BUILD_ROOT