You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: gitian-building.md
+21-21
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Gitian building
2
2
================
3
3
4
-
*Setup instructions for a Gitian build of Bitcoin Core using a VM or physical system.*
4
+
*Setup instructions for a Gitian build of Ioncoin Core using a VM or physical system.*
5
5
6
6
Gitian is the deterministic build process that is used to build the Bitcoin
7
7
Core executables. It provides a way to be reasonably sure that the
@@ -61,7 +61,7 @@ You can check the version with `lxc-execute --version`.
61
61
On Debian you might have to compile a suitable version of lxc or you can use Ubuntu 18.04 or higher instead of Debian as the host.
62
62
63
63
## Non-Debian / Ubuntu, Manual and Offline Building
64
-
The instructions below use the automated script [gitian-build.py](https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-build.py) which only works in Debian/Ubuntu. For manual steps and instructions for fully offline signing, see [this guide](./gitian-building/gitian-building-manual.md).
64
+
The instructions below use the automated script [gitian-build.py](https://github.com/ioncoincore/ion/blob/master/contrib/gitian-build.py) which only works in Debian/Ubuntu. For manual steps and instructions for fully offline signing, see [this guide](./gitian-building/gitian-building-manual.md).
65
65
66
66
## MacOS code signing
67
67
In order to sign builds for MacOS, you need to download the free SDK and extract a file. The steps are described [here](./gitian-building/gitian-building-mac-os-sdk.md). Alternatively, you can skip the OSX build by adding `--os=lw` below.
@@ -70,30 +70,30 @@ In order to sign builds for MacOS, you need to download the free SDK and extract
70
70
The `gitian-build.py` script will checkout different release tags, so it's best to copy it:
71
71
72
72
```bash
73
-
cp bitcoin/contrib/gitian-build.py .
73
+
cp ion/contrib/gitian-build.py .
74
74
```
75
75
76
76
You only need to do this once:
77
77
78
78
```
79
-
./gitian-build.py --setup satoshi 0.17.0rc1
79
+
./gitian-build.py --setup <pgp key> <version>
80
80
```
81
81
82
-
Where `satoshi` is your Github name and `0.17.0rc1` is the most recent tag (without `v`).
82
+
Where `pgp key` is your pgp key and `version` is the most recent tag (without `v`).
83
83
84
84
In order to sign gitian builds on your host machine, which has your PGP key, fork the gitian.sigs repository and clone it on your host machine:
To speed up the build, use `-j 5 -m 5000` as the first arguments, where `5` is the number of CPU's you allocated to the VM plus one, and 5000 is a little bit less than then the MB's of RAM you allocated.
99
99
@@ -102,29 +102,29 @@ If all went well, this produces a number of (uncommited) `.assert` files in the
102
102
You need to copy these uncommited changes to your host machine, where you can sign them:
At this point you have two options, you can either use the automated script (found in [https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-build.py](https://github.com/bitcoin/bitcoin/blob/master/contrib/gitian-build.py), only works in Debian/Ubuntu) or you could manually do everything by following this guide.
10
-
If you are using the automated script, then run it with the `--setup` command. Afterwards, run it with the `--build` command (example: `contrib/gitian-build.py -b signer 0.17.0`). Otherwise ignore this.
10
+
If you are using the automated script, then run it with the `--setup` command. Afterwards, run it with the `--build` command (example: `contrib/gitian-build.py -b signer 4.0.00`). Otherwise ignore this.
11
11
12
12
Follow the instructions in [https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md](https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md#fetch-and-create-inputs-first-time-or-when-dependency-versions-change)
13
13
in the bitcoin repository under 'Fetch and create inputs' to install sources which require
14
14
manual intervention. Also optionally follow the next step: 'Seed the Gitian sources cache
15
15
and offline git repositories' which will fetch the remaining files required for building
16
16
offline.
17
17
18
-
Building Bitcoin Core
18
+
Building Ioncoin Core
19
19
----------------
20
20
21
-
To build Bitcoin Core (for Linux, OS X and Windows) just follow the steps under 'perform
22
-
Gitian builds' in [https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md](https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md#setup-and-perform-gitian-builds) in the bitcoin repository.
21
+
To build Ioncoin Core (for Linux, OS X and Windows) just follow the steps under 'perform
22
+
Gitian builds' in [https://github.com/ioncoin/ion/blob/master/doc/release-process.md](https://github.com/ioncoincore/ion/blob/master/doc/release-process.md#setup-and-perform-gitian-builds) in the ioncoincore repository.
23
23
24
24
This may take some time as it will build all the dependencies needed for each descriptor.
25
25
These dependencies will be cached after a successful build to avoid rebuilding them when possible.
0 commit comments