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

Allow mvn verify load factor to be configured at the command line #3852

Merged
merged 5 commits into from
Jan 24, 2024

Conversation

Baltoli
Copy link
Contributor

@Baltoli Baltoli commented Dec 6, 2023

Currently, if you run mvn verify you get the moral equivalent of make -j$(nproc); this isn't always desirable in CI where we might want a smaller load factor to reduce contention on a machine.

This PR allows you to pass an option:

mvn verify -DcoreFactor=FACTOR

to set the number of cores used to the nearest positive integer to $(nproc) / FACTOR.

@Baltoli Baltoli requested a review from F-WRunTime December 6, 2023 12:57
@rv-jenkins rv-jenkins merged commit 97b1a3a into develop Jan 24, 2024
8 checks passed
@rv-jenkins rv-jenkins deleted the core-factor branch January 24, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants