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

Added codegen_units flag for setting Rustc resource sets #3112

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

UebelAndre
Copy link
Collaborator

@UebelAndre UebelAndre commented Dec 17, 2024

closes #3008

@UebelAndre UebelAndre changed the title Added codegen_units flag for setting execution requirements Added codegen_units flag for setting Rustc resource sets Dec 17, 2024
@UebelAndre UebelAndre force-pushed the resource branch 4 times, most recently from c223539 to 24d44fd Compare December 17, 2024 16:07
@UebelAndre UebelAndre marked this pull request as ready for review December 17, 2024 20:35
@UebelAndre UebelAndre added this pull request to the merge queue Dec 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 17, 2024
@UebelAndre UebelAndre added this pull request to the merge queue Dec 17, 2024
Merged via the queue into bazelbuild:main with commit d832c6c Dec 17, 2024
3 checks passed
def _resource_set_cpu_64(_os_name, _inputs):
return {"cpu": 64}

_RESOURCE_SETS = {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hopefully all this can be deleted once bazelbuild/bazel#15187 is addressed in some form.

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.

Add appropriate resource set for Rustc codegen-units
2 participants