aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-build.sh
diff options
context:
space:
mode:
authorAndrew Chow <achow101@gmail.com>2016-08-28 09:41:50 -0400
committerAndrew Chow <achow101@gmail.com>2016-08-28 09:41:50 -0400
commit3fe0b68fb423da2a49dee31983e865fb22a24248 (patch)
tree54646b8fef94fae68e68131c0f873deb39d26cdd /contrib/gitian-build.sh
parent6ffd6b4a573e00644b8985c825357a7aa7b8ce88 (diff)
downloadbitcoin-3fe0b68fb423da2a49dee31983e865fb22a24248.tar.xz
Set defaults to gitian defaults
Set the default -j and -m to 2 and 2000 respectively, matching gitian's default values.
Diffstat (limited to 'contrib/gitian-build.sh')
-rwxr-xr-xcontrib/gitian-build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gitian-build.sh b/contrib/gitian-build.sh
index e45a0d591f..ee47d138f3 100755
--- a/contrib/gitian-build.sh
+++ b/contrib/gitian-build.sh
@@ -14,8 +14,8 @@ SIGNER=
VERSION=
commit=false
url=https://github.com/bitcoin/bitcoin
-proc=4
-mem=4000
+proc=2
+mem=2000
lxc=true
osslTarUrl=http://downloads.sourceforge.net/project/osslsigncode/osslsigncode/osslsigncode-1.7.1.tar.gz
osslPatchUrl=https://bitcoincore.org/cfields/osslsigncode-Backports-to-1.7.1.patch
@@ -41,7 +41,7 @@ Options:
-s|--sign Make signed binaries for Windows and Mac OSX
-B|--buildsign Build both signed and unsigned binaries
-o|--os Specify which Operating Systems the build is for. Default is lwx. l for linux, w for windows, x for osx
--j Number of processes to use. Default 4
+-j Number of processes to use. Default 2
-m Memory to allocate in MiB. Default 2000
--kvm Use KVM instead of LXC
--setup Setup the gitian building environment. Uses KVM. If you want to use lxc, use the --lxc option. Only works on Debian-based systems (Ubuntu, Debian)