Page 1 of 1

numjobs not in .bashrc

Posted: 7. Mar 2023, 09:50
by Papasot
This is something that affects packagers: While building some Salix packages, I noticed compilation took way longer than what it used to take. This is because the following lines are missing in the default .bashrc file:

Code: Select all

export numjobs=`getconf _NPROCESSORS_ONLN`
export NUMJOBS="-j$numjobs"
This makes compilation of package source much slower since, without $numjobs defined, only one thread is used.

Re: numjobs not in .bashrc

Posted: 9. Mar 2023, 23:15
by gapan
No, that shouldn't be the default in any case. It should be up to the user to decide. In the meantime, I wouldn't like my laptop to give be skin burns when building packages, thank you. ;)