numjobs not in .bashrc

If you have any suggestions or ideas about improving Salix, here's the place to post them.
Post Reply
User avatar
Posts: 205
Joined: 3. May 2015, 18:37
Location: Patras, Greece

numjobs not in .bashrc

Post by Papasot » 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:

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.
A pleasant detail in this forum: several people pick a picture of their pet as their avatar. Who am I to do otherwise? ;-)

User avatar
Salix Wizard
Posts: 6139
Joined: 6. Jun 2009, 17:40

Re: numjobs not in .bashrc

Post by gapan » 9. Mar 2023, 23:15

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. ;)

Post Reply