Mac sdk gz -> xz
This commit is contained in:
parent
4a7dba148a
commit
3c65047c1b
@ -184,7 +184,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for OSX SDK
|
# 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
|
then
|
||||||
echo "Cannot build for OSX, SDK does not exist. Will build for other OSes"
|
echo "Cannot build for OSX, SDK does not exist. Will build for other OSes"
|
||||||
osx=false
|
osx=false
|
||||||
|
|||||||
@ -31,7 +31,7 @@ remotes:
|
|||||||
- "url": "https://github.com/floblockchain/flo.git"
|
- "url": "https://github.com/floblockchain/flo.git"
|
||||||
"dir": "flo"
|
"dir": "flo"
|
||||||
files:
|
files:
|
||||||
- "MacOSX10.11.sdk.tar.gz"
|
- "MacOSX10.11.sdk.tar.xz"
|
||||||
script: |
|
script: |
|
||||||
WRAP_DIR=$HOME/wrapped
|
WRAP_DIR=$HOME/wrapped
|
||||||
HOSTS="x86_64-apple-darwin11"
|
HOSTS="x86_64-apple-darwin11"
|
||||||
@ -87,7 +87,7 @@ script: |
|
|||||||
BASEPREFIX=`pwd`/depends
|
BASEPREFIX=`pwd`/depends
|
||||||
|
|
||||||
mkdir -p ${BASEPREFIX}/SDKs
|
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
|
# Build dependencies for each host
|
||||||
for i in $HOSTS; do
|
for i in $HOSTS; do
|
||||||
|
|||||||
@ -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:
|
Using Mac OS X, you can mount the dmg, and then create it with:
|
||||||
```
|
```
|
||||||
$ hdiutil attach Xcode_7.3.1.dmg
|
$ 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.
|
Alternatively, you can use 7zip and SleuthKit to extract the files one by one.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user