summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-10 09:15:49 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-10 09:15:49 +0100
commita8cda3167d1cb7698ead2af33ba39620a6886062 (patch)
tree337bd411b16780f129af1f6548917613afe6b1a0
parentBuilding with parallel=1 for all 32bit architectures. (diff)
downloadceph-19-a8cda3167d1cb7698ead2af33ba39620a6886062.tar.xz
ceph-19-a8cda3167d1cb7698ead2af33ba39620a6886062.zip
Building with parallel=1 on all systems with 4GB RAM or less.
Signed-off-by: Daniel Baumann <daniel@debian.org>
-rwxr-xr-xdebian/calc-max-parallel.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/debian/calc-max-parallel.sh b/debian/calc-max-parallel.sh
index 9963a9ace..2faa1c58d 100755
--- a/debian/calc-max-parallel.sh
+++ b/debian/calc-max-parallel.sh
@@ -18,11 +18,7 @@ eight_g=$((8*1024*1024))
four_g=$((4*1024*1024))
if [ ${total_ram} -le ${four_g} ]; then
- if dpkg-architecture -q DEB_BUILD_ARCH | grep -q -e arm -e mips -e powerpc -e ppc; then
- echo "--max-parallel=1"
- else
- echo "--max-parallel=2"
- fi
+ echo "--max-parallel=1"
elif [ ${total_ram} -le ${eight_g} ]; then
echo "--max-parallel=2"
elif [ ${total_ram} -le ${sixteen_g} ]; then