-
Notifications
You must be signed in to change notification settings - Fork 268
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
feat(avm): include bb-pilcom in monorepo #7098
Changes from 11 commits
e78ceec
331adac
a6e6103
d682c00
c2cbd4a
522173a
fdc6fd8
abe2399
ff05744
19e6656
0751ca3
c0803dd
b282aaf
8b4f819
8f3d64e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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 |
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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure this (tests) should be here, or even if this script(s) is needed. But don't mind! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. really just for convinience, but yes not required |
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the fork, public polynomials have been made a first class citizen, so we can call get_in_source_order for them, which means we will not have ordering issues anymore