From: Vsevolod Stakhov Date: Tue, 4 Nov 2025 12:39:00 +0000 (+0000) Subject: [Fix] Remove -j flag from ninja in all BSD workflows X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3eda79318f69838b5f5553c155c44a23d633eb10;p=thirdparty%2Frspamd.git [Fix] Remove -j flag from ninja in all BSD workflows Let ninja automatically determine optimal parallelism instead of using sysctl which may not be available or in PATH on all BSD systems. Ninja uses (CPU cores + 2) by default which is optimal for most cases. --- diff --git a/.github/workflows/freebsd_build.yml b/.github/workflows/freebsd_build.yml index 6d4dfad7e1..e53b1d5418 100644 --- a/.github/workflows/freebsd_build.yml +++ b/.github/workflows/freebsd_build.yml @@ -98,7 +98,7 @@ jobs: # Build echo "==> Building Rspamd" - ninja -j$(sysctl -n hw.ncpu) + ninja # Run tests echo "==> Running C++ unit tests" diff --git a/.github/workflows/netbsd_build.yml b/.github/workflows/netbsd_build.yml index 398375642c..8b78ac9366 100644 --- a/.github/workflows/netbsd_build.yml +++ b/.github/workflows/netbsd_build.yml @@ -105,7 +105,7 @@ jobs: # Build echo "==> Building Rspamd" - ninja -j$(sysctl -n hw.ncpu) + ninja # Run tests echo "==> Running C++ unit tests" diff --git a/.github/workflows/openbsd_build.yml b/.github/workflows/openbsd_build.yml index 0de4c4752a..94b468e8ae 100644 --- a/.github/workflows/openbsd_build.yml +++ b/.github/workflows/openbsd_build.yml @@ -92,7 +92,7 @@ jobs: # Build echo "==> Building Rspamd" - ninja -j$(sysctl -n hw.ncpu) + ninja # Run tests echo "==> Running C++ unit tests"