Skip to content

Use cross-platform CPU core count in CI#33

Merged
teddych merged 1 commit intoteddych:masterfrom
ekohl:cross-platform-core-count
Jan 22, 2026
Merged

Use cross-platform CPU core count in CI#33
teddych merged 1 commit intoteddych:masterfrom
ekohl:cross-platform-core-count

Conversation

@ekohl
Copy link
Contributor

@ekohl ekohl commented Jan 21, 2026

On MacOS there is no nproc command so this switches over to an action to determine the core count.

On MacOS there is no nproc command so this switches over to an action to
determine the core count.
@ekohl
Copy link
Contributor Author

ekohl commented Jan 21, 2026

This brings MacOS down from 10 minutes to 1 minute with make while the CMake build goes from 7m24s to 45s. On Windows I don't see a big difference because I think there cygwin already provided nproc and it's just slow.

@teddych teddych merged commit 2c3b6f5 into teddych:master Jan 22, 2026
6 checks passed
@ekohl ekohl deleted the cross-platform-core-count branch January 22, 2026 23:40
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.

2 participants