On Mon, Sep 06, 2021 at 07:33:17PM +0000, David Cohen via pacman-dev wrote: > Currently PKGBUILD has no way to receive from makepkg if it wants to use > parallel jobs during compilation. This patch adds the '-jN' option to > makepkg, which will propagate to PKGBUILD 2 variables: > JOBS is 0 if options is not used, or N otherwise. > JOBS_ARG is an empty string is option is not used, or '-jN' otherwise. > > If the PKGBUILD script does not support parallel jobs, this option will > have no impact during the compilation.
Hi David.
Thank you for your contribution!
It appears to me that you can achieve this by doing proper changes here.
https://gitlab.archlinux.org/pacman/pacman/-/blob/master/etc/makepkg.conf.in#L46
I wonder if this is rather another way to do it through the CLI, and I
wonder if we can evaluate its usefulness on those grounds :)
Cheers!
-Santiago
signature.asc
Description: PGP signature
