mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-24 18:40:38 +00:00
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 <penberg@cloudius-systems.com>
This commit is contained in:
2
dist/redhat/scylla-server.spec
vendored
2
dist/redhat/scylla-server.spec
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user