Will now install from Xcode XIP if the SDK tarball is not available.

This commit is contained in:
Scott Duensing 2022-09-27 16:13:52 -05:00
parent 1fe91473b5
commit 46a1d5f1c6

View file

@ -254,14 +254,21 @@ function buildJoeyLib() {
function buildMacOSSDK() {
local SDK=$1
local PLATFORM=$2
local XCODE=$2
local PLATFORM=$3
if [[ ! -d osxcross ]]; then
git clone https://skunkworks.kangaroopunch.com/mirrors/osxcross.git
fi
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
sudo ENABLE_COMPILER_RT_INSTALL=1 ./build_compiler_rt.sh
mkdir -p ../cross/${PLATFORM}
@ -528,8 +535,8 @@ function doInstall() {
configureSFTP
buildIIgsSDK "Golden Gate.msi" "Opus ][ The Software.iso" id_rsa id_rsa.pub "${GGUSER}" "${GGPASS}"
buildMacOSSDK MacOSX10.13.sdk.tar.xz macos-intel
buildMacOSSDK MacOSX11.3.sdk.tar.xz macos-apple
buildMacOSSDK MacOSX10.13.sdk.tar.xz Xcode_9.4.1.xip macos-intel
buildMacOSSDK MacOSX11.3.sdk.tar.xz Xcode_12.5.1.xip macos-apple
setCompiler linux i386
buildSDL2 ${SDL2_NEW}
@ -552,7 +559,9 @@ function doInstall() {
setCompiler windows x86_64
buildSDL2 ${SDL2_NEW}
rebuildJoeyLib
rebuildJoeyLib
#***TODO*** Install and start the build service.
}