From 14d3f80227372c87ac2dbc8dba004a22919c7836 Mon Sep 17 00:00:00 2001
From: Jason Hiser <jdhiser@gmail.com>
Date: Sun, 19 May 2019 02:23:43 +0000
Subject: [PATCH] updated build-all to avoid parallel build on arm boxes

---
 build-all.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/build-all.sh b/build-all.sh
index 80210b551..c5b406399 100755
--- a/build-all.sh
+++ b/build-all.sh
@@ -6,7 +6,12 @@ if [[ "$*" =~ "--debug" ]]; then
 	SCONSDEBUG=" debug=1 "
 fi
 
-scons $SCONSDEBUG -j 3
+
+if [[ $(uname -m) == 'armv7l' ]]; then
+	scons $SCONSDEBUG 
+else 
+	scons $SCONSDEBUG -j 3
+fi
 
 exit
 
-- 
GitLab