Changeset View
Changeset View
Standalone View
Standalone View
doc/gitian-building.md
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | |||||
./bin/gbuild --commit bitcoin=${COMMIT} --url bitcoin=${URL} /vagrant/contrib/gitian-descriptors/gitian-linux.yml | ./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 | # 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> | # sure to copy them from ./build/out/ to /vagrant/gitian/<platform-name> | ||||
# otherwise they will be overwritten by the next gbuild call. | # 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-win.yml | ||||
./bin/gbuild --commit bitcoin=${COMMIT} --url bitcoin=${URL} /vagrant/contrib/gitian-descriptors/gitian-osx.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: | |||||
``` | |||||
cd ./inputs | |||||
curl -LO https://storage.googleapis.com/f4936e83b2dcbca742be51fb9692b153/MacOSX10.11.sdk.tar.gz | |||||
``` | |||||
Note: For executing gitian builds on local changes, change URL and COMMIT: | Note: For executing gitian builds on local changes, change URL and COMMIT: | ||||
```bash | ```bash | ||||
URL=/vagrant/ | URL=/vagrant/ | ||||
COMMIT=<git-commit-hash> # replace <git-commit-hash> with your latest changes | COMMIT=<git-commit-hash> # replace <git-commit-hash> with your latest changes | ||||
``` | ``` | ||||
This may take some time as it will build all the dependencies needed for each | This may take some time as it will build all the dependencies needed for each | ||||
descriptor. These dependencies will be cached after a successful build to | descriptor. These dependencies will be cached after a successful build to | ||||
Show All 32 Lines |