Skip to content

Fix macOS build instruction - #1963

Closed
dmadhumithra1-glitch wants to merge 2 commits into
python:mainfrom
dmadhumithra1-glitch:fix---macos-build---instruction
Closed

dmadhumithra1-glitch wants to merge 2 commits into
python:mainfrom
dmadhumithra1-glitch:fix---macos-build---instruction

Conversation

@dmadhumithra1-glitch

Copy link
Copy Markdown

Updated the CPython build instructions to provide separate commands for Unix and macOS.

The Unix instructions retain the existing nproc command, while macOS now uses sysctl -n hw.logicalcpu to detect the number of logical CPU cores.

This improves the accuracy and usability of the build instructions for macOS users.

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 #35645942 | 📁 Comparing eb7265f 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