Skip to content

Commit

Permalink
fix: add fallback to cache build (#11654)
Browse files Browse the repository at this point in the history
Please read [contributing guidelines](CONTRIBUTING.md) and remove this
line.
  • Loading branch information
saleel authored Jan 31, 2025
1 parent 7e3a38e commit f3eb3c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions noir/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ function build {
denoise ./scripts/bootstrap_native.sh
denoise ./scripts/bootstrap_packages.sh
cache_upload noir-$hash.tar.gz noir-repo/target/release/nargo noir-repo/target/release/acvm noir-repo/target/release/noir-profiler packages
# if noir-profiler is not found in cache, build it (temp fix until profiler is included in the cache)
elif [ ! -f noir-repo/target/release/noir-profiler ]; then
cd noir-repo/tooling/profiler
cargo build --release
cd ../../..
fi
github_endgroup
}
Expand Down

0 comments on commit f3eb3c8

Please sign in to comment.