You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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:
The text was updated successfully, but these errors were encountered: