From 97ab40c81dc911aea7e078498be7d47435c5196f Mon Sep 17 00:00:00 2001
From: Till Wegmueller <toasterson@gmail.com>
Date: Wed, 01 Dec 2021 19:53:57 +0100
Subject: [PATCH] Setup compulation with multiple cores

---
 tools/jenkinshelper.ksh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/jenkinshelper.ksh b/tools/jenkinshelper.ksh
index 2025d44..d1d04d3 100755
--- a/tools/jenkinshelper.ksh
+++ b/tools/jenkinshelper.ksh
@@ -58,7 +58,7 @@
 	for f in $(git diff --name-only HEAD..origin/oi/hipster | grep Makefile); do
 		echo "jenkinshelper: building for ${f%/*}..."
 		curpwd=$(pwd)
-		cd "${f%/*}" && gmake publish
+		cd "${f%/*}" && COMPONENT_BUILD_ARGS=-j$(psrinfo -t -c) gmake publish
 		rc=$?
 		cd "${curpwd}"
 		echo "jenkinshelper: done with ${f%/*} return code ${rc}"

--
Gitblit v1.9.3