Skip to content

Commit

Permalink
Switched to MacOS SDK 10.15
Browse files Browse the repository at this point in the history
  • Loading branch information
pmconrad committed Nov 27, 2019
1 parent f6d9a51 commit a7806ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ You must have GnuPG installed and on your path as `gpg`.
Instructions on how to install required software on some OSes and prepare a gitian base environment can be found [here](https://github.com/devrandom/gitian-builder/blob/master/README.md).
You should follow the described steps until you have completed the "Sanity-testing" section successfully. Be sure to use the "bionic" suite for your base image.

If you want to build build executables for Mac you'll need to download MacOSX SDK 10.14.
It is contained in the Xcode 10.3 distribution, which is available at https://developer.apple.com/xcode/resources/ under "Command Line Tools & Older Versions of Xcode". .
If you want to build build executables for Mac you'll need to download MacOSX SDK 10.15.
It is contained in the Xcode 11.1 distribution, which is available at https://developer.apple.com/xcode/resources/ under "Command Line Tools & Older Versions of Xcode". .
After downloading Xcode, you can extract the SDK as described [here](https://github.com/tpoechtrager/osxcross#packaging-the-sdk).
The resulting file `MacOSX10.14.sdk.tar.xz` must be put in the `vendor/gitian-builder/inputs` subdirectory.
The resulting file `MacOSX10.15.sdk.tar.xz` must be put in the `vendor/gitian-builder/inputs` subdirectory.

### Example for Docker

Expand Down
2 changes: 1 addition & 1 deletion descriptors/bitshares-core-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ files:
- openssl-1.1.1c.tar.gz
- curl-7.65.0.tar.bz2
- boost_1_69_0.tar.bz2
- MacOSX10.14.sdk.tar.xz
- MacOSX10.15.sdk.tar.xz
- e0a171828a72a0d7ad4409489033536590008ebf.tar.gz
script: |
set -e -o pipefail
Expand Down
4 changes: 2 additions & 2 deletions run-gitian
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ _EOL_
cat <<_EOL_
https://github.com/tpoechtrager/osxcross/archive/e0a171828a72a0d7ad4409489033536590008ebf.tar.gz 7ef00c27b76745d4b44e13f291df60318588aa7b5d1788aeba5aca569ac7e989
_EOL_
if [ ! -r inputs/MacOSX10.14.sdk.tar.xz ]; then
echo "Please download MacOSX10.14.sdk.tar.xz and place it in `pwd`/inputs." 1>&2
if [ ! -r inputs/MacOSX10.15.sdk.tar.xz ]; then
echo "Please download MacOSX10.15.sdk.tar.xz and place it in `pwd`/inputs." 1>&2
echo "Also be sure to read and understand Apple's licensing terms." 1>&2
exit 1
fi
Expand Down

0 comments on commit a7806ec

Please sign in to comment.