From 18613eee229f28cd730d988988e9f7db8db0ee42 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 17 Sep 2021 09:10:27 -0600 Subject: [PATCH] mkpkg: limit the number of cores used to 16 --- scripts/mkpkg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/mkpkg b/scripts/mkpkg index 950616a0c..b19687ce6 100755 --- a/scripts/mkpkg +++ b/scripts/mkpkg @@ -125,6 +125,9 @@ if ${MAKE} --version 2>&1 | grep GNU >/dev/null; then ;; esac if [ $NJOBS -gt 1 ]; then + if [ $NJOBS -gt 16 ]; then + NJOBS=16 + fi make_opts="-j$NJOBS" fi fi