Stash for Avian-stuff.
Quick hack to install depends, checkout a branch and build Avian.
Can build linux, arm32v7, windows and osx. (if you get the SDK and put it in /tmp/SDKs/ as the only tar.gz file)
The SDK needs to be extracted like this: https://github.com/bitcoin/bitcoin/tree/master/contrib/macdeploy (or if this is updated, check out the older bitcoin branches, like 0.18 etc)
The name of the tar.gz does not matter, the name of the directory it extracts does.
It must be run in a docker or some other discardable environment. Designed to run as root with access to everything. No sanitychecks, you should read it and understand it before using it.
HyperPeek: And just for reference -- the docker build should have at least 8 GB of memory (I used 4 RAM, 4 swap). With only 2 swap the VM crashed.
Example usage:
-
$ docker run -it ubuntu:bionic bash -
root@docker# apt update -
root@docker# apt install -y git -
root@docker# cd -
root@docker# git clone https://github.com/fdoving/AvianStash -
This is where you edit
AvianStash/bfg-fdov.shto adjust to your needs. -
root@docker# mkdir -p /tmp/SDKs -
scp you@fileserver:/your/osx-sdk.tar.gz /tmp/SDKs/only needed if you want to build for osx. -
root@docker# AvianStash/bfg-fdov.sh linux master 10 -
Results will appear in /root/releases if everything works.