Mac sdk gz -> xz

This commit is contained in:
Jeremiah Buddenhagen 2018-03-05 16:41:09 -08:00
parent 4a7dba148a
commit 3c65047c1b
3 changed files with 4 additions and 4 deletions

View File

@ -184,7 +184,7 @@ then
fi
# Check for OSX SDK
if [[ ! -e "gitian-builder/inputs/MacOSX10.11.sdk.tar.gz" && $osx == true ]]
if [[ ! -e "gitian-builder/inputs/MacOSX10.11.sdk.tar.xz" && $osx == true ]]
then
echo "Cannot build for OSX, SDK does not exist. Will build for other OSes"
osx=false

View File

@ -31,7 +31,7 @@ remotes:
- "url": "https://github.com/floblockchain/flo.git"
"dir": "flo"
files:
- "MacOSX10.11.sdk.tar.gz"
- "MacOSX10.11.sdk.tar.xz"
script: |
WRAP_DIR=$HOME/wrapped
HOSTS="x86_64-apple-darwin11"
@ -87,7 +87,7 @@ script: |
BASEPREFIX=`pwd`/depends
mkdir -p ${BASEPREFIX}/SDKs
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/MacOSX10.11.sdk.tar.gz
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/MacOSX10.11.sdk.tar.xz
# Build dependencies for each host
for i in $HOSTS; do

View File

@ -41,7 +41,7 @@ To create a tarball suitable for Gitian input, there are two options:
Using Mac OS X, you can mount the dmg, and then create it with:
```
$ hdiutil attach Xcode_7.3.1.dmg
$ tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.11.sdk.tar.gz MacOSX10.11.sdk
$ tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.11.sdk.tar.xz MacOSX10.11.sdk
```
Alternatively, you can use 7zip and SleuthKit to extract the files one by one.