Will now install from Xcode XIP if the SDK tarball is not available.
This commit is contained in:
parent
1fe91473b5
commit
46a1d5f1c6
1 changed files with 14 additions and 5 deletions
|
@ -254,14 +254,21 @@ function buildJoeyLib() {
|
||||||
|
|
||||||
function buildMacOSSDK() {
|
function buildMacOSSDK() {
|
||||||
local SDK=$1
|
local SDK=$1
|
||||||
local PLATFORM=$2
|
local XCODE=$2
|
||||||
|
local PLATFORM=$3
|
||||||
|
|
||||||
if [[ ! -d osxcross ]]; then
|
if [[ ! -d osxcross ]]; then
|
||||||
git clone https://skunkworks.kangaroopunch.com/mirrors/osxcross.git
|
git clone https://skunkworks.kangaroopunch.com/mirrors/osxcross.git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd osxcross
|
pushd osxcross
|
||||||
cp -f ../"${SDK}" tarballs/.
|
# Do we have an existing SDK tarball?
|
||||||
|
if [[ ! -f "../${SDK}" ]]; then
|
||||||
|
# Nope. Build tarball and keep for later.
|
||||||
|
./tools/gen_sdk_package_pbzx.sh "../${XCODE}"
|
||||||
|
mv -f MacOSX* ../.
|
||||||
|
fi
|
||||||
|
cp -f "../${SDK}" tarballs/.
|
||||||
UNATTENDED=1 ./build.sh
|
UNATTENDED=1 ./build.sh
|
||||||
sudo ENABLE_COMPILER_RT_INSTALL=1 ./build_compiler_rt.sh
|
sudo ENABLE_COMPILER_RT_INSTALL=1 ./build_compiler_rt.sh
|
||||||
mkdir -p ../cross/${PLATFORM}
|
mkdir -p ../cross/${PLATFORM}
|
||||||
|
@ -528,8 +535,8 @@ function doInstall() {
|
||||||
configureSFTP
|
configureSFTP
|
||||||
|
|
||||||
buildIIgsSDK "Golden Gate.msi" "Opus ][ The Software.iso" id_rsa id_rsa.pub "${GGUSER}" "${GGPASS}"
|
buildIIgsSDK "Golden Gate.msi" "Opus ][ The Software.iso" id_rsa id_rsa.pub "${GGUSER}" "${GGPASS}"
|
||||||
buildMacOSSDK MacOSX10.13.sdk.tar.xz macos-intel
|
buildMacOSSDK MacOSX10.13.sdk.tar.xz Xcode_9.4.1.xip macos-intel
|
||||||
buildMacOSSDK MacOSX11.3.sdk.tar.xz macos-apple
|
buildMacOSSDK MacOSX11.3.sdk.tar.xz Xcode_12.5.1.xip macos-apple
|
||||||
|
|
||||||
setCompiler linux i386
|
setCompiler linux i386
|
||||||
buildSDL2 ${SDL2_NEW}
|
buildSDL2 ${SDL2_NEW}
|
||||||
|
@ -553,6 +560,8 @@ function doInstall() {
|
||||||
buildSDL2 ${SDL2_NEW}
|
buildSDL2 ${SDL2_NEW}
|
||||||
|
|
||||||
rebuildJoeyLib
|
rebuildJoeyLib
|
||||||
|
|
||||||
|
#***TODO*** Install and start the build service.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue