added prebuilt libzkgroup.so for arm64, armv7 and x86_64

* building libzkgroup.so every time when building the docker image
  takes really long and is quite hacky (due to a bug in docker/buildx:
  see https://github.com/docker/buildx/issues/395).
This commit is contained in:
Bernhard B
2021-01-15 21:18:37 +01:00
parent 0b5defb8e5
commit 8c863a6171
7 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# HOWTO BUILD
[cross](https://github.com/rust-embedded/cross) is used for cross compiling zkgroup.
* download new release from `https://github.com/signalapp/zkgroup/releases`
* unzip + change into directory
* run `cross build --target x86_64-unknown-linux-gnu --release`
run `cross build --target armv7-unknown-linux-gnueabihf --release`
run `cross build --target aarch64-unknown-linux-gnu --release`
to build the library for `x86-64`, `armv7` and `arm64`
* the built library will be in the `target/<architecture>/release` folder

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.