Skip to content

Commit f0172bf

Browse files
committed
osx: bump build sdk to 10.9
1 parent e1aecae commit f0172bf

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ matrix:
3333
- compiler: ": 32-bit + dash"
3434
env: HOST=i686-pc-linux-gnu PACKAGES="g++-multilib bc" RUN_TESTS=true GOAL="install" BITCOIN_CONFIG="--enable-glibc-back-compat" USE_SHELL="/bin/dash"
3535
- compiler: ": Cross-Mac"
36-
env: HOST=x86_64-apple-darwin11 PACKAGES="cmake libcap-dev libz-dev libbz2-dev" OSX_SDK=10.7 GOAL="deploy"
36+
env: HOST=x86_64-apple-darwin11 PACKAGES="cmake libcap-dev libz-dev libbz2-dev" OSX_SDK=10.9 GOAL="deploy"
3737
- compiler: ": Win64"
3838
env: HOST=x86_64-w64-mingw32 PACKAGES="nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev wine bc" RUN_TESTS=true GOAL="deploy" BITCOIN_CONFIG="--enable-gui" MAKEJOBS="-j2"
3939
- compiler: ": Win32"

contrib/gitian-descriptors/gitian-osx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ remotes:
2323
- "url": "https://github.com/bitcoin/bitcoin.git"
2424
"dir": "bitcoin"
2525
files:
26-
- "MacOSX10.7.sdk.tar.gz"
26+
- "MacOSX10.9.sdk.tar.gz"
2727
script: |
2828
WRAP_DIR=$HOME/wrapped
2929
HOSTS="x86_64-apple-darwin11"
@@ -72,7 +72,7 @@ script: |
7272
BASEPREFIX=`pwd`/depends
7373
7474
mkdir -p ${BASEPREFIX}/SDKs
75-
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/MacOSX10.7.sdk.tar.gz
75+
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/MacOSX10.9.sdk.tar.gz
7676
7777
# Build dependencies for each host
7878
for i in $HOSTS; do

depends/hosts/darwin.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
OSX_MIN_VERSION=10.6
2-
OSX_SDK_VERSION=10.7
1+
OSX_MIN_VERSION=10.7
2+
OSX_SDK_VERSION=10.9
33
OSX_SDK=$(SDK_PATH)/MacOSX$(OSX_SDK_VERSION).sdk
44
LD64_VERSION=241.9
55
darwin_CC=clang -target $(host) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(OSX_SDK) -mlinker-version=$(LD64_VERSION)

doc/README_osx.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ originally done in toolchain4.
2929

3030
To complicate things further, all builds must target an Apple SDK. These SDKs
3131
are free to download, but not redistributable.
32-
To obtain it, register for a developer account, then download xcode4630916281a.dmg:
33-
https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.6.3/xcode4630916281a.dmg
32+
To obtain it, register for a developer account, then download the XCode 6.1.1 dmg:
33+
https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_6.1.1/xcode_6.1.1.dmg
34+
3435
This file is several gigabytes in size, but only a single directory inside is
35-
needed: Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
36+
needed: Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
3637

3738
Unfortunately, the usual linux tools (7zip, hpmount, loopback mount) are incapable of opening this file.
3839
To create a tarball suitable for gitian input, mount the dmg in OSX, then create it with:
39-
$ tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.7.sdk.tar.gz MacOSX10.7.sdk
40+
$ tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.9.sdk.tar.gz MacOSX10.9.sdk
4041

4142

4243
The gitian descriptors build 2 sets of files: Linux tools, then Apple binaries

doc/release-process.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ Release Process
4444

4545
Register and download the Apple SDK: (see OSX Readme for details)
4646

47-
https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.6.3/xcode4630916281a.dmg
47+
https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_6.1.1/xcode_6.1.1.dmg
4848

49-
Using a Mac, create a tarball for the 10.7 SDK and copy it to the inputs directory:
49+
Using a Mac, create a tarball for the 10.9 SDK and copy it to the inputs directory:
5050

51-
tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.7.sdk.tar.gz MacOSX10.7.sdk
51+
tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.9.sdk.tar.gz MacOSX10.9.sdk
5252

5353
###Optional: Seed the Gitian sources cache
5454

0 commit comments

Comments
 (0)