Skip to content

docs: remove specific nproc/sysctl thread counts from cmake parallel build instructions#860

Open
aniruddhaadak80 wants to merge 1 commit intocompiler-research:mainfrom
aniruddhaadak80:fix-issue-395
Open

docs: remove specific nproc/sysctl thread counts from cmake parallel build instructions#860
aniruddhaadak80 wants to merge 1 commit intocompiler-research:mainfrom
aniruddhaadak80:fix-issue-395

Conversation

@aniruddhaadak80
Copy link

Fixes #395

Description

This PR cleans up the build instructions across the README.md to simplify cmake --build execution. Using system specific process count utilities like $(nproc --all), $(sysctl -n hw.ncpu), or $env:ncpus has been prone to failure on missing packages or misconfigured shells.

Changes Made

  • Replaced all specific thread-count evaluations with simply --parallel inside the README.md.
  • CMake automatically detects the available logical cores efficiently as a default fallback logic when run with an empty --parallel argument across all major build platforms (Ninja, MSBuild, Make).
  • Reduces command clutter and works reliably for Linux, macOS, and Windows alike.

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.

Consider changing the MAC OS instruction using nproc

1 participant