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

fix(ci): add install backend step in noir rebuild #2182

Merged
merged 5 commits into from
Sep 11, 2023

Conversation

Maddiaa0
Copy link
Member

@Maddiaa0 Maddiaa0 commented Sep 11, 2023

Installs the current version of acvm backend barretenberg before running the parallel compile. This prevents each step from attempting to download the backend at the same time

@Maddiaa0 Maddiaa0 changed the title fix: add install backend step in noir rebuild fix(ci): add install backend step in noir rebuild Sep 11, 2023
@Maddiaa0 Maddiaa0 marked this pull request as ready for review September 11, 2023 11:12
@Maddiaa0 Maddiaa0 requested a review from PhilWindle September 11, 2023 11:15
Comment on lines +11 to +12
echo "Installing $BACKEND_NAME"
nargo backend install $BACKEND_NAME https://github.com/AztecProtocol/barretenberg/releases/download/barretenberg-v0.5.1/barretenberg-x86_64-linux-gnu.tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

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

If there was no parallel compile, could we revert this PR?

Asking because:

  • Theres a PR to compile contracts in parallel by Tom
  • This is likely to be a footgun in the future

Copy link
Contributor

Choose a reason for hiding this comment

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

Not a blocker on this PR

Copy link
Member Author

@Maddiaa0 Maddiaa0 Sep 11, 2023

Choose a reason for hiding this comment

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

Yep this is only an issue as we compile in parallel and each instance try's to fetch the backend

@PhilWindle PhilWindle merged commit 27b8bed into master Sep 11, 2023
@PhilWindle PhilWindle deleted the md/add-backend-stap branch September 11, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants