Sign inSign up

firoorg/firo-builder

By firoorg

•Updated almost 6 years ago

Image for building Firo

Image
0

213

firoorg/firo-builder repository overview

⁠Zcoin Builder

This is the image that contains everything you need to build Zcoin.

⁠Start build environment

docker run --rm -it zcoinofficial/zcoin-builder

⁠Get Zcoin source

git clone https://github.com/zcoinofficial/zcoin.git && cd zcoin

⁠Build portable binary for Linux

Build all dependencies:

make -C depends -j4 HOST=x86_64-unknown-linux-gnu

Then build Zcoin:

./autogen.sh && ./configure --prefix=$(pwd)/depends/x86_64-unknown-linux-gnu && make -j4

⁠Build portable binary for Windows

Build all dependencies:

make -C depends -j4 HOST=x86_64-w64-mingw32

Then build Zcoin:

./autogen.sh && ./configure --prefix=$(pwd)/depends/x86_64-w64-mingw32 --enable-reduce-exports && make -j4

⁠Build portable binary for macOS

Create directory for Apple SDK:

mkdir -p depends/SDKs

Download Apple SDK to new directory. For more information, please follow Bitcoin macOS Build Instructions and Notes⁠

Build all dependencies:

make -C depends -j4 HOST=x86_64-apple-darwin11

Then build Zcoin:

./autogen.sh && ./configure --prefix=$(pwd)/depends/x86_64-apple-darwin11 && make -j4

⁠Copy binary out of Docker

Open a new terminal. Then get the container ID to copy from:

docker ps

Grab the binary from container:

docker cp <ID>:/home/zcoin-builder/zcoin/src/qt/zcoin-qt .

If it is Windows you, use zcoin-qt.exe instead.

Tag summary

Content type

Image

Digest

Size

641.1 MB

Last updated

almost 6 years ago

docker pull firoorg/firo-builder