Skip to content

Commit e7b5353

Browse files
authored
fix: bbup (#12555)
1 parent fbaa634 commit e7b5353

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

barretenberg/bbup/bbup

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ install_bb() {
6363
local platform=""
6464

6565
# Convert architecture names
66-
if [ "$architecture" = "arm64" ]; then
66+
if [ "$architecture" = "arm64" ] || [ "$architecture" = "aarch64" ]; then
6767
if version_gte "$version" "0.77.0"; then
6868
architecture="arm64"
6969
else

barretenberg/bbup/bootstrap.sh

+5-6
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ export hash=$(cache_content_hash .rebuild_patterns)
1010
# Paths are relative to repo root.
1111
# We append the hash as a comment. This ensures the test harness and cache and skip future runs.
1212
function test_cmds {
13-
local test_versions=("0.72.1" "0.77.1")
14-
15-
for version in ${test_versions[@]}; do
16-
echo -e "$hash barretenberg/bbup/run_test.sh $version"
17-
done
13+
if [ $(arch) == "amd64" ]; then
14+
echo -e "$hash barretenberg/bbup/run_test.sh 0.72.1"
15+
fi
16+
echo -e "$hash barretenberg/bbup/run_test.sh 0.77.1"
1817
}
1918

2019
# This is not called in ci. It is just for a developer to run the tests.
@@ -27,7 +26,7 @@ case "$cmd" in
2726
"clean")
2827
git clean -fdx
2928
;;
30-
""|"fast"|"full")
29+
""|"fast"|"full"|"bench")
3130
;;
3231
"ci")
3332
test

0 commit comments

Comments
 (0)