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

Silence build lock for dependency builds #2162

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Silence build lock for dependency builds #2162

merged 1 commit into from
Feb 11, 2025

Conversation

plajjan
Copy link
Contributor

@plajjan plajjan commented Feb 11, 2025

It is quite normal to have like ~diamond shaped dependencies in project, so the top project depends on A & B, and A also depends on B, so when we start sub-compilers to build dependencies, they will race to build B. One will make it first and the other will have to wait. It is unnecessary to print that build lock warning, it only confuses users (who think something has hung and aborts the whole build). Detecting this via TTY might not be ideal but it works for now.

It is quite normal to have like ~diamond shaped dependencies in project,
so the top project depends on A & B, and A also depends on B, so when we
start sub-compilers to build dependencies, they will race to build B.
One will make it first and the other will have to wait. It is
unnecessary to print that build lock warning, it only confuses
users (who think something has hung and aborts the whole build).
Detecting this via TTY might not be ideal but it works for now.
@plajjan plajjan enabled auto-merge February 11, 2025 18:39
@plajjan plajjan merged commit 416308e into main Feb 11, 2025
23 of 25 checks passed
@plajjan plajjan deleted the silence-build-lock branch February 11, 2025 18:51
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.

1 participant