Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the READMEs about compiling for different sector sizes #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ During the build process it will clone and build SPDK, sppark, and blst.
./build.sh
```

By default it builds with support for 512MiB and 32GiB sector sizes. For other sector sizes compile with `./build.sh -r`.

SPDK must be setup after every reboot:
```
cd deps/spdk-v22.09
Expand Down
20 changes: 10 additions & 10 deletions demos/rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,24 @@ flowchart TD;

Currently configured to run 3 pipelines of 32 sectors.

First make sure the supraseal-c2 library is setup in ../../c2

Also make sure the core library has been built:
Make sure the core library has been built:
```
./build.sh 512MiB

or for 32GiB sectors:
./build.sh
```

For sector sizes other than 512MiB or 32GiB, use `./build.sh -r`.

Build the Rust part:
```
cargo build --release
```

512MB Sectors
```
cargo build --release --features=512MiB --no-default-features
sudo ./target/release/supra-seal-demo
sudo ./target/release/supra-seal-demo 512MiB
```

32GB Sectors
```
cargo build --release --features=32GiB --no-default-features
sudo ./target/release/supra-seal-demo
sudo ./target/release/supra-seal-demo 32GiB
```