Skip to content

Commit 123bb0a

Browse files
author
Charlie Lee
authored
Merge pull request bitcoin#367 from coblee/master
Add instructions for multi-processor gitian builds.
2 parents 40ccbc4 + f796c8d commit 123bb0a

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

doc/gitian-building.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ In the VirtualBox GUI click "New" and choose the following parameters in the wiz
7676

7777
After creating the VM, we need to configure it.
7878

79-
- Click the `Settings` button, then go to the `Network` tab. Adapter 1 should be attached to `NAT`.
79+
- 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.
80+
81+
![](gitian-building/system_settings.png)
82+
83+
- Go to the `Network` tab. Adapter 1 should be attached to `NAT`.
8084

8185
![](gitian-building/network_settings.png)
8286

103 KB
Loading

doc/release-process.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,16 @@ The gbuild invocations below <b>DO NOT DO THIS</b> by default.
125125
### Build and sign Litecoin Core for Linux, Windows, and OS X:
126126

127127
pushd ./gitian-builder
128-
./bin/gbuild --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-linux.yml
128+
./bin/gbuild --num-make `nproc` --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-linux.yml
129129
./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-linux.yml
130130
mv build/out/litecoin-*.tar.gz build/out/src/litecoin-*.tar.gz ../
131131

132-
./bin/gbuild --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-win.yml
132+
./bin/gbuild --num-make `nproc` --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-win.yml
133133
./bin/gsign --signer $SIGNER --release ${VERSION}-win-unsigned --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-win.yml
134134
mv build/out/litecoin-*-win-unsigned.tar.gz inputs/litecoin-win-unsigned.tar.gz
135135
mv build/out/litecoin-*.zip build/out/litecoin-*.exe ../
136136

137-
./bin/gbuild --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-osx.yml
137+
./bin/gbuild --num-make `nproc` --memory 3000 --commit litecoin=v${VERSION} ../litecoin/contrib/gitian-descriptors/gitian-osx.yml
138138
./bin/gsign --signer $SIGNER --release ${VERSION}-osx-unsigned --destination ../gitian.sigs.ltc/ ../litecoin/contrib/gitian-descriptors/gitian-osx.yml
139139
mv build/out/litecoin-*-osx-unsigned.tar.gz inputs/litecoin-osx-unsigned.tar.gz
140140
mv build/out/litecoin-*.tar.gz build/out/litecoin-*.dmg ../

0 commit comments

Comments
 (0)