diff --git a/barretenberg/bbup/bbup b/barretenberg/bbup/bbup index d92c82e64f2b..543048d7ea67 100755 --- a/barretenberg/bbup/bbup +++ b/barretenberg/bbup/bbup @@ -63,7 +63,7 @@ install_bb() { local platform="" # Convert architecture names - if [ "$architecture" = "arm64" ]; then + if [ "$architecture" = "arm64" ] || [ "$architecture" = "aarch64" ]; then if version_gte "$version" "0.77.0"; then architecture="arm64" else diff --git a/barretenberg/bbup/bootstrap.sh b/barretenberg/bbup/bootstrap.sh index fa7349c46108..57b3370db3ae 100755 --- a/barretenberg/bbup/bootstrap.sh +++ b/barretenberg/bbup/bootstrap.sh @@ -10,11 +10,10 @@ export hash=$(cache_content_hash .rebuild_patterns) # Paths are relative to repo root. # We append the hash as a comment. This ensures the test harness and cache and skip future runs. function test_cmds { - local test_versions=("0.72.1" "0.77.1") - - for version in ${test_versions[@]}; do - echo -e "$hash barretenberg/bbup/run_test.sh $version" - done + if [ $(arch) == "amd64" ]; then + echo -e "$hash barretenberg/bbup/run_test.sh 0.72.1" + fi + echo -e "$hash barretenberg/bbup/run_test.sh 0.77.1" } # This is not called in ci. It is just for a developer to run the tests. @@ -27,7 +26,7 @@ case "$cmd" in "clean") git clean -fdx ;; - ""|"fast"|"full") + ""|"fast"|"full"|"bench") ;; "ci") test