Skip to content

Remote fpgas #16949

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Remote fpgas #16949

wants to merge 4 commits into from

Conversation

drewmacrae
Copy link
Contributor

@drewmacrae drewmacrae commented Dec 29, 2022

This updates Bazel to 6.0.0 (because we need a newly implemented tag to enable exclusive-if-local instead of exclusive
This allows FPGA tests to run remotely, based on a buildfarm runner.

Based on #16943 which can be reviewed and merged separately. This PR is to consider the last commit.

https://github.com/drewmacrae/bazel-buildfarm/tree/ot_remote_build describes how to start a server and workers in its README.md file

Drew Macrae added 4 commits December 29, 2022 11:09
Use a dotenv file instead of volatile-status.txt to obtain stamping
envvars so we can stamp opentitantool conditionally with the --stamp arg

Run cargo_raze to add deps for dotenv (but back out other changes)

Signed-off-by: Drew Macrae <[email protected]>
This keeps them from being run in a remote container but allows their
results to be cached.

Signed-off-by: Drew Macrae <[email protected]>
Use "exclusive-if-local" to control whether tests may be scheduled in
parallel depending on whether remote execution is used. This requires we
update bazel.
use exec_properties to ensure fpgas get to fpga workers

Signed-off-by: Drew Macrae <[email protected]>
@drewmacrae drewmacrae requested a review from alphan December 29, 2022 21:59
@drewmacrae drewmacrae requested review from cfrantz and a team as code owners December 29, 2022 21:59
@drewmacrae
Copy link
Contributor Author

I'm testing that bazel-6.0.0 is compatible with all our tests.

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