Skip to content

Commit

Permalink
Build instructions relevant for Arch Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Clemente Vella committed May 18, 2023
1 parent aacd522 commit cfa6a5b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ $ git submodule update
```

### Compile
The following packages must be installed.
The following packages must be installed (Ubuntu variants):
```sh
$ sudo apt update && sudo apt install build-essential libbenchmark-dev libomp-dev libgmp-dev nlohmann-json3-dev postgresql libpqxx-dev libpqxx-doc nasm libsecp256k1-dev grpc-proto libsodium-dev libprotobuf-dev libssl-dev cmake libgrpc++-dev protobuf-compiler protobuf-compiler-grpc uuid-dev
```
The equivalent for Arch Linux is:
```sh
$ sudo pacman -S base-devel extra/protobuf community/grpc-cli community/nlohmann-json extra/libpqxx nasm extra/libsodium community/libsecp256k1
```
To download the files needed to run the prover, you have to execute the following command
```sh
$ wget https://de012a78750e59b808d922b39535e862.s3.eu-west-1.amazonaws.com/v1.1.0-rc.1-fork.4.tgz
Expand All @@ -50,6 +54,11 @@ $ rm config
$ mv v1.1.0-rc.1-fork.4.tgz/config .
```

Depending on your `protobuf` version, you may need to regenerate gRPC files:
```sh
$ make -C src/grpc
```

Run `make` to compile the project
```sh
$ make clean
Expand Down

0 comments on commit cfa6a5b

Please sign in to comment.