Skip to content

Conversation

intelliot
Copy link
Contributor

High Level Overview of Change

This improves build times. I think the time is cut to about 1/6 for me - a big difference. I am not sure if there is a situation when it should not be used.

Context of Change

BUILD instructions

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Performance (increase or change in throughput and/or latency)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release

This improves build times.
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.6%. Comparing base (8b9e21e) to head (ead047e).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           develop   #5288   +/-   ##
=======================================
  Coverage     78.6%   78.6%           
=======================================
  Files          816     816           
  Lines        70505   70505           
  Branches      8292    8290    -2     
=======================================
+ Hits         55438   55441    +3     
+ Misses       15067   15064    -3     

see 4 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bthomee bthomee added the Trivial Simple change with minimal effect, or already tested. Only needs one approval. label Feb 13, 2025
```
cmake --build .
cmake --build . -j $(nproc)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nproc is not available on macos.
Since BUILD.md mentions building on Linux/Windows/Mac, it would be helpful to include the commands for each.

I usually use sysctl -n hw.logicalcpu on macos.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I forgot to mention that also.

brew install coreutils will get you nproc instead of that malarky.

@intelliot intelliot added the Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. label May 27, 2025
@bthomee bthomee enabled auto-merge (squash) May 27, 2025 18:23
@bthomee bthomee merged commit cd777f7 into develop May 27, 2025
28 checks passed
@bthomee bthomee deleted the add-j-nproc branch May 27, 2025 19:11
This was referenced Jun 12, 2025
@legleux legleux mentioned this pull request Jun 23, 2025
@bthomee bthomee mentioned this pull request Jun 23, 2025
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. Trivial Simple change with minimal effect, or already tested. Only needs one approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants