This repository has been archived by the owner on Mar 16, 2023. It is now read-only.
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.
Motivation
Not all M1 Macs have
clang
andclang++
on/opt/homebrew/opt/llvm/bin/clang
and/opt/homebrew/opt/llvm/bin/clang++
respectively. It shouldn't be necessary to installllvm
withbrew
.This PR intends to fix a compilation error related to AztecProtocol/barretenberg#66 that causes this crate building to fail when trying to compile noir with the following message:
Notes
The
aztec_backend
's rev in noir'scrates/nargo/Cargo.toml
is pointing to noir-lang/acvm-backend-barretenberg@01b922a (see the code) which has aCargo.toml
with the dependencybarretenberg_wrapper
pointing to the rev AztecProtocol/barretenberg@804c7dc (see the code) of the branchkw/noir-dsl-mac
of this repo.To be faithful with the actual implementation I made the changes on kw/noir-dsl-mac (hence this PR pointing to it) and the changes that I mention in the next section will be made branching out of the revs noted in the previous paragraph.
Related PRs
There are no yet related PRs to this one but I'm working on the proper changes to get this fix up to noir's repo.
For the moment I would need to update the following dependencies:
barretenberg_wrapper
rev in itsCargo.toml
to the commit of this PR (once this PR ismerged).aztec_backend
rev incrates/nargo/Cargo.toml
to the commit of the PR to the change from above (once the above, that is not created yet, is merged).Feedback is more than welcome and let me know if this is not the place for this PR.