[Slackbuilds-users] some SlackBuilds can't handle MAKEFLAGS other than -j1
Erich Ritz
erich.public at protonmail.com
Mon Feb 14 13:49:11 UTC 2022
------- Original Message -------
On Monday, February 14th, 2022 at 2:09 AM, Robby Workman <rworkman at slackbuilds.org> wrote:
> On Mon, 14 Feb 2022 00:02:24 -0800
>
> David Chmelik dchmelik at gmail.com wrote:
>
> > Some SlackBuilds can't handle MAKEFLAGS other than -j1. Is it
> >
> > possible in future sbopkg will let you set MAKEFLAGS for multiple
> > threads, and if a script can't handle it, reset to one?
>
> If we are aware of it, we (if I recall correctly) usually do something along those lines in the script itself, e.g.
>
> make || MAKEFLAGS="" make
>
> Future sbopkg features should probably be debated in a different venue, though -- while the developer is on SBo admin, sbopkg is not controlled by SBo.
>
> -RW
>
Another thing you can do is set it in your queue file (*.sqf) (you are using queue files, right?):
# cat somepackage.sqf
@dep1
@dep2
somepackage | MAKEFLAGS="-j1"
This would avoid wasting time on a failed "make" in "make || MAKEFLAGS="" make".
Other tools (at least slackrepo) support something similar (i.e., setting variables for individual packages' SlackBuilds).
Erich
More information about the SlackBuilds-users
mailing list