From 4cf9da7026605fa4aef834264bb01c45210c6c8c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 12 May 2021 06:09:04 +0300 Subject: [PATCH 58/58] CI: Use 'sysctl -n hw.logicalcpu' instead of 'nproc' in OSX build nproc does not exist in OSX See osdn #42248 Signed-off-by: Marko Lindqvist --- scripts/ci-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci-build.sh b/scripts/ci-build.sh index 4975b112e0..be3643a996 100755 --- a/scripts/ci-build.sh +++ b/scripts/ci-build.sh @@ -55,7 +55,7 @@ cd build && echo "Config exit status: $config_exit_status" \ && cat config.log \ && exit $config_exit_status) -make -j$(nproc) +make -j$(sysctl -n hw.logicalcpu) make install ;; -- 2.30.2