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.
# Build
echo "==> Building Rspamd"
- ninja -j$(sysctl -n hw.ncpu)
+ ninja
# Run tests
echo "==> Running C++ unit tests"
# Build
echo "==> Building Rspamd"
- ninja -j$(sysctl -n hw.ncpu)
+ ninja
# Run tests
echo "==> Running C++ unit tests"
# Build
echo "==> Building Rspamd"
- ninja -j$(sysctl -n hw.ncpu)
+ ninja
# Run tests
echo "==> Running C++ unit tests"