Here are some scripts to build bitcoin repo.
Use this manual
- Check out bitcoin repo:
git clone https://github.com/bitcoin/bitcoin
- CD into bitcoin repo root. Copy
Vagrantfile
from this repo. - Build VM:
vagrant up
. - SSH intor vm:
vagrant ssh
- Now you can build bitcoin source:
cd /vagrant ./autogen.sh ./configure make -j 8 make -j 8 check
The separate user is created to prevent setting incorrect file permissions on the host.