rocksdb not available in el8+, use bundled rocksdb

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
Kaleb S. KEITHLEY 2021-02-04 16:28:55 -05:00
parent 07c18dd027
commit a7b4842132
1 changed files with 4 additions and 0 deletions

View File

@ -1215,7 +1215,11 @@ export CXXFLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g')
# Parallel build settings ...
CEPH_MFLAGS_JOBS="%{?_smp_mflags}"
%ifarch s390 s390x
CEPH_SMP_NCPUS="4"
%else
CEPH_SMP_NCPUS=$(echo "$CEPH_MFLAGS_JOBS" | sed 's/-j//')
%endif
%if 0%{?__isa_bits} == 32
# 32-bit builds can use 3G memory max, which is not enough even for -j2
CEPH_SMP_NCPUS="1"