Skip to content

Fix macOS build instructions - #1962

Closed
Logaranjani345 wants to merge 2 commits into
python:mainfrom
Logaranjani345:fix-macos-build-instructions
Closed

Logaranjani345 wants to merge 2 commits into
python:mainfrom
Logaranjani345:fix-macos-build-instructions

Conversation

@Logaranjani345

Copy link
Copy Markdown

The current build instructions use nproc, which is not available by default on macOS.

This change adds a macOS-specific command using sysctl -n hw.logicalcpu while keeping the existing Unix command.

Closes #1959

@python-cla-bot

python-cla-bot Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 CPython devguide | 🛠️ Build #35645940 | 📁 Comparing 9e34c5c against latest (e4e90eb)

  🔍 Preview build  

1 file changed
± getting-started/setup-building/index.html

@StanFromIreland

Copy link
Copy Markdown
Member

Closing in favour of the slightly earlier opened #1964.

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.

Bug: macOS build instructions use unavailable nproc command

2 participants