Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
Merge #68: Update reference to macOS SDK extraction instructions
Browse files Browse the repository at this point in the history
0aebb72 Update reference to macOS SDK extraction instructions (Hennadii Stepanov)
7ae9535 Use a permanent link to the recent edition of extract-osx-sdk.sh (Hennadii Stepanov)

Pull request description:

  This PR replaces the outdated `gitian-building/gitian-building-mac-os-sdk.md` with the link to https://github.com/bitcoin/bitcoin/blob/master/contrib/macdeploy/README.md#sdk-extraction

ACKs for top commit:
  MarcoFalke:
    ACK 0aebb72

Tree-SHA512: c1f775ad559d26251a23551455aa00304f460d2581214038b178eb9492579485bcf02fe19dfa6e50cb9b3baeaa45806ffb680da5344f859bdc6828a953748cac
  • Loading branch information
MarcoFalke committed Dec 21, 2020
2 parents a706cc6 + 0aebb72 commit 234a4f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 60 deletions.
19 changes: 15 additions & 4 deletions gitian-building.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ Non-Debian / Ubuntu, Manual and Offline Building
------------------------------------------------
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).

MacOS code signing
------------------
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 macOS build by adding `--os=lw` below.

Initial Gitian Setup
--------------------
The `gitian-build.py` script will checkout different release tags, so it's best to copy it:
Expand All @@ -76,6 +72,21 @@ git remote add $NAME [email protected]:$NAME/gitian.sigs.git

Where `satoshi` is your GitHub name.

macOS code signing
------------------
In order to sign builds for macOS, you need to download the free SDK and extract a file.
The steps are described:
- [here](https://github.com/bitcoin/bitcoin/blob/master/contrib/macdeploy/README.md#sdk-extraction) for `Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz`
- [here](https://github.com/bitcoin-core/docs/blob/7ae95352931b14272a45154226123550bb92c516/gitian-building/gitian-building-mac-os-sdk.md) for `MacOSX10.11.sdk.tar.gz`.

Copy the extracted SDK file into the `gitian-builder/inputs` directory:
```bash
mkdir -p gitian-builder/inputs
cp 'path/to/extracted-SDK-file' gitian-builder/inputs
```

Alternatively, you can skip the macOS build by adding `--os=lw` below.

Build binaries
-----------------------------
Windows and macOS have code signed binaries, but those won't be available until a few developers have gitian signed the non-codesigned binaries.
Expand Down
56 changes: 0 additions & 56 deletions gitian-building/gitian-building-mac-os-sdk.md

This file was deleted.

0 comments on commit 234a4f9

Please sign in to comment.