Closed jawj closed 1 month ago
From the source code, the value configured in --jobs
will be passed to Client::new(limit)
, looks like this jobslot
library is used to limit the number of uppermost make
command that could be executed at the same time, and if so, I guess it is not related to make -j
Related to #1903
OK, closing as a dupe of #1903.
I'm setting up an Ubuntu 24.04 VM (using https://multipass.run on an M3 Pro MacBook Pro) to compile and test a pgrx extension.
I set the VM up with 4 cores, 4GB RAM and 20GB disk.
When I run
cargo pgrx init --pg16 download
, Postgres compilation is stuck on one core, and it doesn't help to specify--jobs 4
. That makes it very slow, of course.Subsequently,
cargo pgrx install
is able to max out all 4 cores.Any ideas what could be the problem here?
This is everything that's run on a fresh VM: