Skip to content

Use resource_sets for codegen-units even if the value is not customized - #3295

Closed
HackAttack wants to merge 1 commit into
bazelbuild:mainfrom
HackAttack:default-codegen-resource-set
Closed

HackAttack wants to merge 1 commit into
bazelbuild:mainfrom
HackAttack:default-codegen-resource-set

Conversation

@HackAttack

Copy link
Copy Markdown
Contributor

No description provided.

@HackAttack

Copy link
Copy Markdown
Contributor Author

This works but the result is the CPU is drastically underutilized (because Bazel thinks it needs 16 cores per crate).

@HackAttack HackAttack closed this Feb 26, 2025
@UebelAndre

Copy link
Copy Markdown
Collaborator

This works but the result is the CPU is drastically underutilized (because Bazel thinks it needs 16 cores per crate).

That's exactly what I was wondering! I think this is an appropriate thing to do but should be up to users to make that call for their repo. For anyone with a functional remote cache, I think the pain would happen once up front and then be invisible.

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