Skip to content

Commit

Permalink
Merge pull request #24 from abailly-iohk/abailly-iohk-patch-1
Browse files Browse the repository at this point in the history
Add instructions to install libblst manually
  • Loading branch information
CarlosLopezDeLara authored Sep 6, 2023
2 parents 4c4be36 + 15a978a commit 4b8f053
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/getting-started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,34 @@ make check
sudo make install
```

#### Installing BLST

Download and install BLST so that cardano-base can pick it up (assuming that pkg-config is installed):

```bash
git clone https://github.com/supranational/blst
cd blst
git checkout v0.3.10
./build.sh
cat > libblst.pc << EOF
prefix=/usr/local
exec_prefix=\${prefix}
libdir=\${exec_prefix}/lib
includedir=\${prefix}/include
Name: libblst
Description: Multilingual BLS12-381 signature library
URL: https://github.com/supranational/blst
Version: 0.3.10
Cflags: -I\${includedir}
Libs: -L\${libdir} -lblst
EOF
sudo cp libblst.pc /usr/local/lib/pkgconfig/
sudo cp bindings/blst_aux.h bindings/blst.h bindings/blst.hpp /usr/local/include/
sudo cp libblst.a /usr/local/lib
sudo chmod u=rw,go=r /usr/local/{lib/{libblst.a,pkgconfig/libblst.pc},include/{blst.{h,hpp},blst_aux.h}}
```

#### Downloading the source code for cardano-node

Create a working directory for your builds:
Expand Down

0 comments on commit 4b8f053

Please sign in to comment.