From 240dbb124354677941dc7caa9326386c9b5faa77 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 3 Nov 2019 13:48:55 +0000 Subject: gitian: add --rebuild option Avoids delays when sourceforge is slow to respond; allows rebuilding when disconnected from networks. --- contrib/gitian/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'contrib/gitian/README.md') diff --git a/contrib/gitian/README.md b/contrib/gitian/README.md index 3c40d09e0..4fa393283 100644 --- a/contrib/gitian/README.md +++ b/contrib/gitian/README.md @@ -226,3 +226,19 @@ To get all build options run: ./gitian-build.py --help ``` +Doing Successive Builds +----------------------- + +If you need to do multiple iterations (while developing/testing) you can use the +`--rebuild` option instead of `--build` on subsequent iterations. This skips the +initial check for the freshness of the depends tools. In particular, doing this +check all the time prevents rebuilding when you have no network access. + + +Local-Only Builds +----------------- + +If you need to run builds while disconnected from the internet, make sure you have +local up-to-date repos in advance. Then specify your local repo using the `--url` +option when building. This will avoid attempts to git pull across a network. + -- cgit v1.2.3