diff --git a/README.md b/README.md index 81c92ee..0568dc3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/demos/rust/README.md b/demos/rust/README.md index 7ab3dfa..1468011 100644 --- a/demos/rust/README.md +++ b/demos/rust/README.md @@ -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 ```