That overriding of parallelism is a killer for systems with lots of cores. 2GiB * ncores is way more RAM than I've got in my system. There seems to be some issue with this in than I also get a lot more processes than was asked for, it looks like it's trying to spawn more than 2*ncores processes.
I thought best practice was to inherit this from the makepkg.conf
anyway.
Pinned Comments
iyanmv commented on 2024-01-17 22:19 (UTC) (edited on 2024-01-17 22:20 (UTC) by iyanmv)
Running all the tests from
check()
can take a lot of time and require quite a lot of memory (specially when using-j$(nproc)
).You can build the package without running the tests with
makepkg --nocheck
, or if you prefer to build on a clean env, use e.g.extra-x86_64-build -- -- --nocheck
from devtools.