Skip to content

Commit cede761

Browse files
authored
Update README.md
1 parent 1ecf560 commit cede761

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,21 @@ If you don't specify tag, url, or path to gitian config, then the docker run com
8787

8888
When running the docker build, using '-v host absolute path:/shared/cache' will ensure a build cache is retained across subsequent builds. Subsequently, using '-v host absolute path:/shared/result' will ensure that final manifests and binaries are available to you from your host system. You can leave out the volume information if you don't need to retain a build cache or results. If you do use a shared cache and/or result directory, please ensure it is readable and writeable by the user running the container. Changing ownership for these directories is host operating system specific. For Mac OS X, it is usually sufficient to ensure the user that runs 'docker run' owns cache and result directory and can also write to those directories as well.
8989

90+
###Building binaries for Mac OS X
91+
92+
When building binaries intended to be run on Mac OS X, you MUST supply a SDK tarball to the build chain. Here are the directions for obtaining this tarball:
93+
94+
1. Register and download the Apple SDK: see OS X readme for details.
95+
96+
> https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_6.1.1/xcode_6.1.1.dmg
97+
98+
Using a Mac, create a tarball for the 10.9 SDK and copy it to your shared cache directory:
99+
100+
```bash
101+
$ tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.9.sdk.tar.gz MacOSX10.9.sdk
102+
$ cp MacOSX10.9.sdk.tar.gz cache/
103+
```
104+
90105
###What's next
91106
* Optionally, you may create a digital signature of the resulting output manifest file.
92107
* This file will be located in your host's shared cache directory results directory. The file's name is: package name-res.yml, where package name will resemble bitcoin-0.12.1-linux64-res.yml

0 commit comments

Comments
 (0)