Skip to content

Conversation

@axaysagathiya
Copy link
Contributor

Problem

The ci/common/limit-threads.sh script fails on macOS with nproc: command not found. This occurs because nproc is a Linux-specific utility (part of coreutils) and is not available by default on macOS systems.

Summary of Changes

  • Use sysctl -n hw.ncpu to determine the processor count on macOS.
  • Retain nproc usage for Linux environments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant