-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(params): ensure benchmarking server has groth params and keys bef…
…ore running benchmarks (#953) * fix(params): ensure benchmarking server has groth params and keys * ci(params): ensure benchmarking server has params
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
CMDS=$(cat <<EOF | ||
cd \$(mktemp -d) | ||
git clone https://github.com/filecoin-project/rust-fil-proofs.git | ||
cd rust-fil-proofs | ||
git checkout -q $1 | ||
export RUST_LOG=info | ||
./fil-proofs-tooling/scripts/retry.sh 42 10 60000 \ | ||
./fil-proofs-tooling/scripts/with-lock.sh 42 /tmp/benchmark \ | ||
./fil-proofs-tooling/scripts/with-dots.sh \ | ||
cargo run --release --package filecoin-proofs --bin=paramcache -- ${@:3} | ||
EOF | ||
) | ||
|
||
ssh -q $2 "$CMDS" |