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

Enable build parallelism by default. #4048

Merged
merged 3 commits into from
Jun 22, 2023

Conversation

devinrsmith
Copy link
Member

@devinrsmith devinrsmith commented Jun 21, 2023

This also paves the way for larger CI runner support.

Note: I've been running w/ org.gradle.parallel=true for at least a year without ill-effect. I think some other developers have been as well.

This also paves the way for larger CI runner support.
Comment on lines -48 to -50
if (!maxParallelForks) {
maxParallelForks = 4
}
Copy link
Member Author

Choose a reason for hiding this comment

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

This logic never worked; the inner code is never executed.

@devinrsmith devinrsmith requested a review from rcaudy June 21, 2023 22:15
@@ -32,6 +32,8 @@ jobs:
run: |
cat .github/env/${{ runner.os }}/gradle.properties >> gradle.properties
echo >> gradle.properties
.github/scripts/print-gradle-workers-max.sh >> gradle.properties
echo >> gradle.properties
Copy link
Member

Choose a reason for hiding this comment

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

The block below is almost the same. Too hard to factor the common parts out?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've taken your advice and consolidated it down to a single script.

jcferretti
jcferretti previously approved these changes Jun 21, 2023
@devinrsmith devinrsmith merged commit 40af6a3 into deephaven:main Jun 22, 2023
9 checks passed
@devinrsmith devinrsmith deleted the nightly/enable-parallelism branch June 22, 2023 15:18
@github-actions github-actions bot locked and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants