]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: Hardcode NCPUs for testing purposes dgalloway-ib-nautilus
authorDavid Galloway <dgallowa@redhat.com>
Thu, 21 Oct 2021 18:50:30 +0000 (14:50 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 21 Oct 2021 19:06:21 +0000 (15:06 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph.spec.in

index 83bf7ded87d4141dfa5a121bb30a3e1f76527321..364a3aa922422f4d4b81e6d384cf93398b3c5b30 100644 (file)
@@ -1176,7 +1176,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS"
 export LDFLAGS="$RPM_LD_FLAGS"
 
 # Parallel build settings ...
-CEPH_MFLAGS_JOBS="%{?_smp_mflags}"
+CEPH_MFLAGS_JOBS="-j200"
 CEPH_SMP_NCPUS=$(echo "$CEPH_MFLAGS_JOBS" | sed 's/-j//')
 %if 0%{?__isa_bits} == 32
 # 32-bit builds can use 3G memory max, which is not enough even for -j2
@@ -1202,7 +1202,7 @@ env | sort
 mkdir build
 cd build
 %if 0%{?rhel} == 7
-CMAKE=cmake3
+CMAKE='ib_console cmake3'
 %else
 CMAKE=cmake
 %endif