summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Eatmon2022-09-28 15:42:06 -0500
committerRyan Eatmon2022-09-28 15:42:06 -0500
commita589fc8dfa9e70e8ad5015ed01a9aa3aa5707db7 (patch)
treeb93f635eca3ff2a87c2271eba9e32db9291fcb49
parentceec2e22c6d089722b19474dbc37e2ecb7fa0b0f (diff)
downloadoe-layersetup-a589fc8dfa9e70e8ad5015ed01a9aa3aa5707db7.tar.gz
oe-layersetup-a589fc8dfa9e70e8ad5015ed01a9aa3aa5707db7.tar.xz
oe-layersetup-a589fc8dfa9e70e8ad5015ed01a9aa3aa5707db7.zip
oe-layer-setup.sh: restore number of threads to max
We are no longer using VMs for building and so should not need to reduce the number of threads down by 75%. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rwxr-xr-xoe-layertool-setup.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/oe-layertool-setup.sh b/oe-layertool-setup.sh
index e404290..1ea31c3 100755
--- a/oe-layertool-setup.sh
+++ b/oe-layertool-setup.sh
@@ -770,9 +770,8 @@ EOM
770 770
771 # set the number of threads 771 # set the number of threads
772 threads=`cat /proc/cpuinfo | grep -c processor` 772 threads=`cat /proc/cpuinfo | grep -c processor`
773 tnum=`expr \( ${threads} + 1 \) \* 75 / 100` 773 sed -i "s/^PARALLEL_MAKE.*/PARALLEL_MAKE ?= \"-j ${threads}\"/" $confdir/local.conf
774 sed -i "s/^PARALLEL_MAKE.*/PARALLEL_MAKE ?= \"-j ${tnum}\"/" $confdir/local.conf 774 sed -i "s/^BB_NUMBER_THREADS.*/BB_NUMBER_THREADS ?= \"${threads}\"/" $confdir/local.conf
775 sed -i "s/^BB_NUMBER_THREADS.*/BB_NUMBER_THREADS ?= \"${tnum}\"/" $confdir/local.conf
776 775
777 # Find if old DL_DIR was set 776 # Find if old DL_DIR was set
778 if [ -e $confdir/local.conf.bak ] 777 if [ -e $confdir/local.conf.bak ]