Changeset View
Changeset View
Standalone View
Standalone View
doc/gitian-building.md
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | |||||
Building Bitcoin ABC | Building Bitcoin ABC | ||||
-------------------- | -------------------- | ||||
To build Bitcoin ABC (for Linux, OS X and Windows) run the following commands: | To build Bitcoin ABC (for Linux, OS X and Windows) run the following commands: | ||||
```bash | ```bash | ||||
URL=https://github.com/bitcoin-abc/bitcoin-abc.git | URL=https://github.com/bitcoin-abc/bitcoin-abc.git | ||||
COMMIT=v0.16.0 # or whatever release tag you wish | COMMIT=v0.16.0 # or whatever release tag you wish | ||||
/vagrant/contrib/devtools/build-all.sh | |||||
deadalnix: This is not something someone can type on a linux machine to run gitian builds.
Removing these… | |||||
# Note the path to descriptors assumes vagrant was used. These files are within the ABC repository normally. | |||||
./bin/gbuild --commit bitcoin=${COMMIT} --url bitcoin=${URL} /vagrant/contrib/gitian-descriptors/gitian-linux.yml | |||||
# Note: If you plan on signing the binaries generated during this process, be | |||||
# sure to copy them from ./build/out/ to /vagrant/gitian/<platform-name> | |||||
# otherwise they will be overwritten by the next gbuild call. | |||||
./bin/gbuild --commit bitcoin=${COMMIT} --url bitcoin=${URL} /vagrant/contrib/gitian-descriptors/gitian-win.yml | |||||
./bin/gbuild --commit bitcoin=${COMMIT} --url bitcoin=${URL} /vagrant/contrib/gitian-descriptors/gitian-osx.yml | |||||
``` | ``` | ||||
Note on the OSX build: If you encounter an error about a missing MacOSX10.11.sdk.tar.gz, then follow these steps: | Note on the OSX build: If you encounter an error about a missing MacOSX10.11.sdk.tar.gz, then follow these steps: | ||||
``` | ``` | ||||
cd ./inputs | cd ./inputs | ||||
curl -LO https://storage.googleapis.com/f4936e83b2dcbca742be51fb9692b153/MacOSX10.11.sdk.tar.gz | curl -LO https://storage.googleapis.com/f4936e83b2dcbca742be51fb9692b153/MacOSX10.11.sdk.tar.gz | ||||
``` | ``` | ||||
Show All 40 Lines |
This is not something someone can type on a linux machine to run gitian builds.
Removing these instructions also ensure that people will go through hell rebuilding for all plateform if one of the build fails for some reason. The debugging experience will be pretty bad.