Skip to content

Commit

Permalink
Update RISC0 prover deployment instructions (#10)
Browse files Browse the repository at this point in the history
* Update RISC0 prover deployment instructions

* Update risc0-prover.mdx
  • Loading branch information
mikhailUshakoff authored Jan 8, 2025
1 parent d365a6e commit ba77133
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions docs/Guides/provers/risc0-prover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo reboot
```

## Install openssl
```bash
sudo apt-get install libssl-dev
```

## Install package-config
```bash
sudo apt-get update
sudo apt-get install pkg-config
```

## Install sccache
```bash
cargo install sccache
Expand All @@ -61,16 +72,6 @@ sudo ln -s g++-12 g++
g++ --version
```

## Install openssl
```bash
sudo apt-get install libssl-dev
```

## Install package-config
```bash
sudo apt install pkg-config
```

---

## Uninstall Existing CUDA (optional)
Expand Down Expand Up @@ -172,7 +173,7 @@ cargo --version
2. Create the required directories:
```bash
sudo mkdir -p /opt/riscv
sudo chown <USER> /opt/riscv
sudo chown $USER /opt/riscv
```
3. Switch to the Raiko repository directory:
```bash
Expand Down Expand Up @@ -216,7 +217,7 @@ Set the values according to your chain configuration.

Run the following command:
```bash
cargo build --release --features risc0 -F cuda
cargo build -F cuda --release --features risc0 -F raiko-tasks/in-memory
```

## Run Raiko
Expand Down

0 comments on commit ba77133

Please sign in to comment.