diff options
author | Eric Wong <e@80x24.org> | 2023-09-18 10:15:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-20 19:14:19 +0000 |
commit | 6b70d5f03b688ee24df38ea669c0d800a6ad3b49 (patch) | |
tree | 51f0bd6e3cc9739bbf9f43284fbe49fa65bc03a5 /ci | |
parent | d6e792f9eb38258dd79eed7626b3cab1eb25cd1f (diff) | |
download | public-inbox-6b70d5f03b688ee24df38ea669c0d800a6ad3b49.tar.gz |
`getconf NPROCESSORS_ONLN' will succeed on GNU/Linux systems anyways; and the non-underscore-prefixed invocation works fine on all BSD flavors tested. Thus the `nproc' and `gnproc' attempts will never be reached. The only downside is we lose the ability to account for CPU affinity, but that's probably not an issue since CPU affinity (AFAIK) isn't a commonly-used feature.
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ then $DO $MAKE clean >/dev/null fi NPROC=${NPROC-$({ getconf _NPROCESSORS_ONLN || getconf NPROCESSORS_ONLN || - gnproc || nproc || echo 2; } 2>/dev/null)} + echo 2; } 2>/dev/null)} TEST_JOBS=${TEST_JOBS-1} $PERL -w ci/profiles.perl | while read args |