mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-14 01:02:04 +03:00
During CI, use nproc instead of sysctl -n hw.ncpu
The latter may give the wrong result if cpusets are in use. Sponsored by: ConnectWise Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Alan Somers <asomers@gmail.com> Closes #18012
This commit is contained in:
parent
ed87bc593f
commit
872266a5f3
2
.github/workflows/scripts/qemu-4-build-vm.sh
vendored
2
.github/workflows/scripts/qemu-4-build-vm.sh
vendored
@ -181,7 +181,7 @@ function freebsd() {
|
||||
echo "##[endgroup]"
|
||||
|
||||
echo "##[group]Build"
|
||||
run gmake -j$(sysctl -n hw.ncpu)
|
||||
run gmake -j$(nproc)
|
||||
echo "##[endgroup]"
|
||||
|
||||
echo "##[group]Install"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user