[Slackbuilds-users] Issues with webkit2gtk / webkit2gtk4.1 in a Slackware 32 bit

Giancarlo Dessì slack at giand.it
Fri Jan 12 06:16:12 UTC 2024


Il 12/01/24 06:31, B. Watson ha scritto:
>
>
> On Thu, 11 Jan 2024, Qun-Ying wrote:
>
>> "${NINJA:=ninja}" -j$(expr $(nproc) / 2)
>
> What maniac wrote this? If you run it on a single-core box, nproc says
> 1, integer-divided by 2... means it runs "ninja -j0". And according to
> ninja's --help, -j0 means "infinity". This might be the cause of the
> OP's problem.
>
> It'd be better to extract the -j# from MAKEFLAGS (if set) and use that
> for ninja's -j option (or, if MAKEFLAGS not set, don't pass ninja a -j
> at all, which works the same way as make: 1 job).

Thanks a lot for replies. I'm completely ignorant about ninja, so I 
didn't know the solution was so simple! I'll change the script, thanks

Giancarlo



> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
-- 
*********************************************************
Giancarlo Dessì
https://www.giand.it
https://github.com/giandex

Slackware Linux... because it works!
*********************************************************



More information about the SlackBuilds-users mailing list