Stash for Ravencoin-stuff.
Quick hack to install depends, checkout a branch and build Ravencoin.
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
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:latest bash
-
root@docker# apt update
-
root@docker# apt install -y git
-
root@docker# cd
-
root@docker# git clone https://github.com/fdoving/RavenStash
-
This is where you edit
RavenStash/build-from-git.sh
to adjust to your needs. I currently use my github repo, you might want to adjust to something else. -
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# RavenStash/build-from-git.sh linux master 10
-
Results will appear in /root/releases if everything works.
-
root@docker# RavenStash/build-from-git.sh clean
- To clean up build directories, if you need to do that.