aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaanwj <126646+laanwj@users.noreply.github.com>2022-06-14 07:21:56 +0200
committerlaanwj <126646+laanwj@users.noreply.github.com>2022-06-14 07:22:35 +0200
commitcccbc5fe3ea5ae52426203f4485b11071fbe4b6e (patch)
tree23962b58324e3eb2640b232cea8e2d1f6c5ba57d
parenta55606c3bdbfdf660b093bc2a618d537ffae7f26 (diff)
parent14093d5d243f6eb9cfef721c80f92848d95032ee (diff)
downloadbitcoin-cccbc5fe3ea5ae52426203f4485b11071fbe4b6e.tar.xz
Merge bitcoin/bitcoin#25359: doc: add distcc to productivity notes
14093d5d243f6eb9cfef721c80f92848d95032ee doc: add distcc to productivity notes (Sjors Provoost) Pull request description: If you have more than one computer at your disposal, you can use [distcc](https://www.distcc.org) to speed up compilation. ACKs for top commit: laanwj: ACK 14093d5d243f6eb9cfef721c80f92848d95032ee brunoerg: ACK 14093d5d243f6eb9cfef721c80f92848d95032ee w0xlt: ACK https://github.com/bitcoin/bitcoin/pull/25359/commits/14093d5d243f6eb9cfef721c80f92848d95032ee Tree-SHA512: 2c436bdea5ab750330055778eb5817361d16b046f219d53692577439e2fd8403febf78ac8e8b20ed158c650c76252b50cfc91f4ec8375cdd522cc408068d547b
-rw-r--r--doc/productivity.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/productivity.md b/doc/productivity.md
index a01c6f545d..e9b7bc270c 100644
--- a/doc/productivity.md
+++ b/doc/productivity.md
@@ -9,6 +9,7 @@ Table of Contents
* [Disable features with `./configure`](#disable-features-with-configure)
* [Make use of your threads with `make -j`](#make-use-of-your-threads-with-make--j)
* [Only build what you need](#only-build-what-you-need)
+ * [Compile on multiple machines](#compile-on-multiple-machines)
* [Multiple working directories with `git worktrees`](#multiple-working-directories-with-git-worktrees)
* [Interactive "dummy rebases" for fixups and execs with `git merge-base`](#interactive-dummy-rebases-for-fixups-and-execs-with-git-merge-base)
* [Writing code](#writing-code)
@@ -81,6 +82,10 @@ make -C src bitcoin_bench
(You can and should combine this with `-j`, as above, for a parallel build.)
+### Compile on multiple machines
+
+If you have more than one computer at your disposal, you can use [distcc](https://www.distcc.org) to speed up compilation. This is easiest when all computers run the same operating system and compiler version.
+
### Multiple working directories with `git worktrees`
If you work with multiple branches or multiple copies of the repository, you should try `git worktrees`.