-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Extra resources #16785
Closed
Closed
Extra resources #16785
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Nov 17, 2022
drewmacrae
commented
Nov 17, 2022
drewmacrae
force-pushed
the
extra_resources
branch
from
November 17, 2022 20:20
ea1646d
to
7ab9df6
Compare
drewmacrae
force-pushed
the
extra_resources
branch
from
November 22, 2022 14:54
7ab9df6
to
14f2d4c
Compare
sgowroji
added
team-Core
Skyframe, bazel query, BEP, options parsing, bazelrc
awaiting-review
PR is awaiting review from an assigned reviewer
labels
Nov 22, 2022
haxorz
reviewed
Nov 29, 2022
src/main/java/com/google/devtools/build/lib/actions/ResourceSet.java
Outdated
Show resolved
Hide resolved
This PR touches the code that manages local action execution, hence I'm moving this to the |
haxorz
added
team-Local-Exec
Issues and PRs for the Execution (Local) team
and removed
team-Core
Skyframe, bazel query, BEP, options parsing, bazelrc
labels
Nov 29, 2022
drewmacrae
force-pushed
the
extra_resources
branch
from
November 30, 2022 15:46
14f2d4c
to
b4a7753
Compare
wilwell
suggested changes
Dec 6, 2022
src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java
Show resolved
Hide resolved
src/main/java/com/google/devtools/build/lib/actions/ExecutionRequirements.java
Show resolved
Hide resolved
src/main/java/com/google/devtools/build/lib/actions/ResourceManager.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/devtools/build/lib/actions/ResourceManager.java
Outdated
Show resolved
Hide resolved
src/main/java/com/google/devtools/build/lib/analysis/test/TestTargetProperties.java
Show resolved
Hide resolved
src/test/java/com/google/devtools/build/lib/actions/ResourceManagerTest.java
Outdated
Show resolved
Hide resolved
drewmacrae
force-pushed
the
extra_resources
branch
4 times, most recently
from
December 10, 2022 17:40
f1d4e72
to
255a1dc
Compare
drewmacrae
requested review from
larsrc-google and
wilwell
and removed request for
larsrc-google and
wilwell
December 10, 2022 17:56
Add support for user-specified resource types in the resource manager. This generalizes the CPU, RAM and "test count" resource support for other resource types such as the number of GPUs, available GPU memory, the number of embedded devices connected to the host, etc. The available amount of extra resources can be specified using the new --local_extra_resources=<resourcename>=<amount> command line flag, which is analoguous to the existing --local_cpu_resources and --local_memory_resources flags. Tests can then declare the amount of extra resources they need by using a "resources:<resourcename>:<amount>" tag.
Addressed comments on bazelbuild#13996 Fixed issues in tests and built and tested with lowRISC/opentitan#16436 Signed-off-by: Drew Macrae <[email protected]>
drewmacrae
force-pushed
the
extra_resources
branch
from
December 10, 2022 19:30
255a1dc
to
ce23a5f
Compare
drewmacrae
requested review from
larsrc-google and
wilwell
and removed request for
wilwell and
larsrc-google
December 14, 2022 14:15
wilwell
approved these changes
Dec 20, 2022
drewmacrae
pushed a commit
to drewmacrae/opentitan
that referenced
this pull request
Dec 23, 2022
WIP requires custom bazel binary. Don't merge until bazel is updated to reflect upstream changes. Removes the external tag in preference for a custom resource as handled by bazelbuild/bazel#16785 Signed-off-by: Drew Macrae <[email protected]>
wilwell
removed
the
awaiting-review
PR is awaiting review from an assigned reviewer
label
Dec 30, 2022
drewmacrae
pushed a commit
to drewmacrae/bazel
that referenced
this pull request
Jan 17, 2023
This recreates a [closed PR](bazelbuild#13996) to implement extra resources which we're hoping to use in lowRISC/opentitan#16436 Fixes:bazelbuild#16817 Closes bazelbuild#16785. PiperOrigin-RevId: 498557024 Change-Id: I60d8f8f4a4a02748147cabb4cd60a2a9b95a2c68
Merged
ShreeM01
added a commit
that referenced
this pull request
Jan 19, 2023
This recreates a [closed PR](#13996) to implement extra resources which we're hoping to use in lowRISC/opentitan#16436 Fixes:#16817 Closes #16785. PiperOrigin-RevId: 498557024 Change-Id: I60d8f8f4a4a02748147cabb4cd60a2a9b95a2c68 Co-authored-by: kshyanashree <[email protected]>
hvadehra
pushed a commit
that referenced
this pull request
Feb 14, 2023
This recreates a [closed PR](#13996) to implement extra resources which we're hoping to use in lowRISC/opentitan#16436 Fixes:#16817 Closes #16785. PiperOrigin-RevId: 498557024 Change-Id: I60d8f8f4a4a02748147cabb4cd60a2a9b95a2c68
No, it was submitted as cl/498557024 on Dec. 30.
-Lars
On Thu, 23 Feb 2023 at 11:46, Xùdōng Yáng ***@***.***> wrote:
Was this only merged into the 6.1.0 branch without being on master?
@kshyanashree <https://github.com/kshyanashree> @keertk
<https://github.com/keertk>
—
Reply to this email directly, view it on GitHub
<#16785 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXTMK5YQXGNWQFJ6PTK62DWY45XHANCNFSM6AAAAAASDWWXYY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Lars Clausen
Software Engineer
***@***.***
Google Germany GmbH
Erika-Mann-Straße 33
80636 München
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten
haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter,
löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen,
dass die E-Mail an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake,
please don't forward it to anyone else, please erase all copies and
attachments, and please let me know that it has gone to the wrong person.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This recreates a closed PR to implement extra resources which we're hoping to use in lowRISC/opentitan#16436
Fixes:#16817