mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Merge #10968: Add instructions for parallel gitian builds.
e93ff71
Add instructions for multi-processor gitian builds (Charlie Lee)
Pull request description:
This makes builds much faster if you have a multi-core machine.
Tree-SHA512: edb64c691a31a8a2e6c45f87886912d429a3fd600ebc0de2b16d44efd9d38bb92fea33c5fed207ad684b75d3247218912cab67661466a5538d534845e0808c9f
This commit is contained in:
parent
7f3d3deda7
commit
19a17a58d2
@ -76,7 +76,11 @@ In the VirtualBox GUI click "New" and choose the following parameters in the wiz
|
|||||||
|
|
||||||
After creating the VM, we need to configure it.
|
After creating the VM, we need to configure it.
|
||||||
|
|
||||||
- Click the `Settings` button, then go to the `Network` tab. Adapter 1 should be attached to `NAT`.
|
- Click the `Settings` button, then go to `System` tab and `Processor` sub-tab. Increase the number of processors to the number of cores on your machine if you want builds to be faster.
|
||||||
|
|
||||||
|
![](gitian-building/system_settings.png)
|
||||||
|
|
||||||
|
- Go to the `Network` tab. Adapter 1 should be attached to `NAT`.
|
||||||
|
|
||||||
![](gitian-building/network_settings.png)
|
![](gitian-building/network_settings.png)
|
||||||
|
|
||||||
|
BIN
doc/gitian-building/system_settings.png
Normal file
BIN
doc/gitian-building/system_settings.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
@ -107,16 +107,16 @@ The gbuild invocations below <b>DO NOT DO THIS</b> by default.
|
|||||||
### Build and sign Dash Core for Linux, Windows, and OS X:
|
### Build and sign Dash Core for Linux, Windows, and OS X:
|
||||||
|
|
||||||
pushd ./gitian-builder
|
pushd ./gitian-builder
|
||||||
./bin/gbuild --memory 3000 --commit dash=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-linux.yml
|
./bin/gbuild --num-make 2 --memory 3000 --commit dash=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-linux.yml
|
||||||
./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-linux.yml
|
./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-linux.yml
|
||||||
mv build/out/dash-*.tar.gz build/out/src/dash-*.tar.gz ../
|
mv build/out/dash-*.tar.gz build/out/src/dash-*.tar.gz ../
|
||||||
|
|
||||||
./bin/gbuild --memory 3000 --commit dash=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-win.yml
|
./bin/gbuild --num-make 2 --memory 3000 --commit dash=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-win.yml
|
||||||
./bin/gsign --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-win.yml
|
./bin/gsign --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-win.yml
|
||||||
mv build/out/dash-*-win-unsigned.tar.gz inputs/dash-win-unsigned.tar.gz
|
mv build/out/dash-*-win-unsigned.tar.gz inputs/dash-win-unsigned.tar.gz
|
||||||
mv build/out/dash-*.zip build/out/dash-*.exe ../
|
mv build/out/dash-*.zip build/out/dash-*.exe ../
|
||||||
|
|
||||||
./bin/gbuild --memory 3000 --commit dash=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-osx.yml
|
./bin/gbuild --num-make 2 --memory 3000 --commit dash=v${VERSION} ../dash/contrib/gitian-descriptors/gitian-osx.yml
|
||||||
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-osx.yml
|
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs/ ../dash/contrib/gitian-descriptors/gitian-osx.yml
|
||||||
mv build/out/dash-*-osx-unsigned.tar.gz inputs/dash-osx-unsigned.tar.gz
|
mv build/out/dash-*-osx-unsigned.tar.gz inputs/dash-osx-unsigned.tar.gz
|
||||||
mv build/out/dash-*.tar.gz build/out/dash-*.dmg ../
|
mv build/out/dash-*.tar.gz build/out/dash-*.dmg ../
|
||||||
|
Loading…
Reference in New Issue
Block a user