[SOLVED] Multi-thread builds via SBOPKG/slackbuilds?
by obobskivich from LinuxQuestions.org on (#5A2FN)
I'm playing around with Slackware64 14.2 Multilib on a 48-core system, and running some slackbuilds in sbopkg, and noting that its only using 1-2 threads when compiling. I've read some relatively old threads about setting makeflags in /etc/default and have added (based on the linked thread/post)
Code:export MAKEFLAGS=" -j40"It still seems to make no difference (based on watching htop while make is running).
Sources:
https://slackalaxy.com/2014/03/16/bu...ultiple-cores/
https://www.linuxquestions.org/quest...re-4175497383/
The package I'm testing with is barrier and its associated dependencies (avahi, qt5, etc).
Any ideas/tips on this? I know not all packages can build multi-thread but it'd be nice to see at least *some* gain from all the extra CPUs when building at least some of the things.


Code:export MAKEFLAGS=" -j40"It still seems to make no difference (based on watching htop while make is running).
Sources:
https://slackalaxy.com/2014/03/16/bu...ultiple-cores/
https://www.linuxquestions.org/quest...re-4175497383/
The package I'm testing with is barrier and its associated dependencies (avahi, qt5, etc).
Any ideas/tips on this? I know not all packages can build multi-thread but it'd be nice to see at least *some* gain from all the extra CPUs when building at least some of the things.