Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: -j4 with lin/win runners [RELEASE] #9637

Open
wants to merge 1 commit into
base: release-v0.18
Choose a base branch
from

Conversation

plowsof
Copy link
Contributor

@plowsof plowsof commented Dec 23, 2024

No description provided.

@@ -11,7 +11,7 @@ on:
env:
REMOVE_BUNDLED_BOOST : rm -rf /usr/local/share/boost
BUILD_DEFAULT_LINUX: |
cmake -S . -B build -D ARCH="default" -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Release && cmake --build build -j3
cmake -S . -B build -D ARCH="default" -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Release && cmake --build build --parallel 4
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this could be --parallel $(nproc) which future proofs things a bit. Not sure if this works with msys. macOS is a pain to do something similar.

Choose a reason for hiding this comment

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

The rules here are a bit more complicated because there's also a memory requirement: see #9510 (comment) (and subsequent discussion). I have a commit ready to PR which accounts for all the requirements, but I'm waiting for this one (and the corresponding main branch PR) to get merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants