[Slackbuilds-users] Feature request: add $NUMJOBS to SBo build scripts

Fellype fellype at gmail.com
Tue Jul 23 19:04:21 UTC 2019


Dear SBo Admins,

Is it possible to add the $NUMJOBS variable to SBo build scripts by
default? At least for the next Slackware release?
If yes, my suggestion would be to add it with an empty value, after the
$TAG variable. E. g.:
PRGNAM=gmsh
VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
NUMJOBS=${NUMJOBS:-}

And also after the make command for software that supports multiple jobs on
building.
make $NUMJOBS

It would be used optionally only if the user pass it as an argument
(string) before to execute the build script. E. g.:
bash-4.3# NUMJOBS="-j5" ./gmsh.SlackBuild

Some SlackBuilds in -current already have a similar option. See the
mozilla-firefox.SlackBuild for example:
ftp://ftp.osuosl.org/pub/slackware/slackware64-current/source/xap/mozilla-firefox/mozilla-firefox.SlackBuild
where there is the option:
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}

Please, consider this request.

Best regards,


-- 
Fellype
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20190723/088f2658/attachment.htm>


More information about the SlackBuilds-users mailing list