-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(avm): include bb-pilcom in monorepo (#7098)
- Loading branch information
Showing
41 changed files
with
6,206 additions
and
659 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,4 @@ | ||
#!/bin/bash | ||
use_zsh_alias() { | ||
# Run Zsh command, source .zshrc, and then execute the alias | ||
zsh -i -c "$1" | ||
} | ||
|
||
# Compile | ||
use_zsh_alias "bb_pil pil/avm/avm_main.pil --name Avm" | ||
|
||
# Format generated folders | ||
root_dir="src" | ||
|
||
# Find all directories named 'generate' under the specified root directory | ||
find "$root_dir" -type d -name 'generate' | while read dir_path; do | ||
echo "Processing directory: $dir_path" | ||
|
||
# Find all C/C++ source files in these directories and format them | ||
find "$dir_path" -type f \( -iname '*.hpp' -o -iname '*.cpp' \) -exec clang-format -i {} + | ||
done | ||
|
||
|
||
# Build vm tests | ||
cmake --build --preset clang16 --target vm_tests | ||
../../bb-pilcom/target/release/bb_pil pil/avm/main.pil --name Avm |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
# Rebuild | ||
./scripts/compile_avm.sh | ||
|
||
# Format generated folders | ||
git add **/generated/* | ||
./format.sh staged | ||
|
||
# Build vm tests | ||
cmake --build --preset clang16 --target vm_tests |
406 changes: 219 additions & 187 deletions
406
barretenberg/cpp/src/barretenberg/relations/generated/avm/alu.hpp
Large diffs are not rendered by default.
Oops, something went wrong.
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 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 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 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 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
Oops, something went wrong.