From 3908d36f21d976c342fcfcb20d49009493895485 Mon Sep 17 00:00:00 2001 From: ludamad Date: Thu, 6 Mar 2025 18:40:39 -0500 Subject: [PATCH 1/3] fix: bench --- barretenberg/bbup/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barretenberg/bbup/bootstrap.sh b/barretenberg/bbup/bootstrap.sh index fa7349c46108..c95a09ec6053 100755 --- a/barretenberg/bbup/bootstrap.sh +++ b/barretenberg/bbup/bootstrap.sh @@ -27,7 +27,7 @@ case "$cmd" in "clean") git clean -fdx ;; - ""|"fast"|"full") + ""|"fast"|"full"|"bench") ;; "ci") test From bae1cd23f9b4d8b5f9c0f589c927835e8274ef9e Mon Sep 17 00:00:00 2001 From: ludamad Date: Thu, 6 Mar 2025 18:43:35 -0500 Subject: [PATCH 2/3] Update bbup --- barretenberg/bbup/bbup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 8004839af2dbdfe8b147a653a70f5fe21dc4e0f9 Mon Sep 17 00:00:00 2001 From: ludamad Date: Thu, 6 Mar 2025 19:32:55 -0500 Subject: [PATCH 3/3] Update bootstrap.sh --- barretenberg/bbup/bootstrap.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/barretenberg/bbup/bootstrap.sh b/barretenberg/bbup/bootstrap.sh index c95a09ec6053..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.