forked from Bitcoin-ABC/bitcoin-abc
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Allow gitian-build.py to run on macOS
Co-authored-by: Andrew#128 <[email protected]> Summary ------- As a follow-up to !1248, it turns out with some minor modifications, it's possible to build using gitian on Docker for macOS! This may save time for people that run macOS natively (such as me). In short: This MR allows the `--docker` options to work on macOS without failing. In a future MR I will also compose some documentation about how to get it working on macOS 100%. For now it also needs you to use a fork of gitian-builder from here: https://github.com/cculianu/gitian-builder.git BRANCH: macos_support_no_debian_cache There is a PR for this change that I submitted to the main gitian-builder repo: devrandom/gitian-builder#252 Test Plan --------- - Run gitian builder on Linux as normal to ensure that nothing broke. **Optional:** - If you are on a **macOS** host, get docker installed and running, check-out this branch, and also check-out: https://github.com/cculianu/gitian-builder.git branch: `macos_support_no_debian_cache` into your `gitian-builder` directory. - Put the modified script from this MR on the top-level, next to your `bitcoin-cash-node` directory. - Run: `./gitian-build.py --setup --docker` - Run: `./gitian-build.py --docker -b -D -n -c -o lwm "satoshi" master` - After a great deal of time waiting for it to rebuild the universe, you should have some static binaries built!
- Loading branch information
Showing
3 changed files
with
44 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters