[pacman-dev] [PATCH 1/1] makepkg: add support for parallel jobs during compilation
Santiago Torres Arias
santiago at nyu.edu
Mon Sep 6 19:37:02 UTC 2021
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.
Thank you for your contribution!
It appears to me that you can achieve this by doing proper changes here.
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 :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the pacman-dev