numjobs not in .bashrc
Posted: 7. Mar 2023, 09:50
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:
This makes compilation of package source much slower since, without $numjobs defined, only one thread is used.
Code: Select all
export numjobs=`getconf _NPROCESSORS_ONLN`
export NUMJOBS="-j$numjobs"