2020-03-05 16:59:56 +00:00
|
|
|
#!/bin/sh
|
2021-10-19 00:00:22 +00:00
|
|
|
. "$(dirname "$0")"/common_osxcross.sh
|
2020-03-05 16:59:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
# darwin
|
2022-08-11 21:40:24 +00:00
|
|
|
mkdir -p /usr/osxcross
|
2020-03-05 16:59:56 +00:00
|
|
|
mkdir -p /tmp/osxcross && cd "/tmp/osxcross"
|
|
|
|
curl -sLo osxcross.tar.gz "https://codeload.github.com/${OSXCROSS_REPO}/tar.gz/${OSXCROSS_SHA1}"
|
|
|
|
tar --strip=1 -xzf osxcross.tar.gz
|
|
|
|
rm -f osxcross.tar.gz
|
2022-08-11 21:40:24 +00:00
|
|
|
|
2020-11-10 03:01:56 +00:00
|
|
|
curl -sLo tarballs/${OSX_SDK}.tar.xz "https://prysmaticlabs.com/uploads/${OSX_SDK}.tar.xz"
|
2022-08-11 21:40:24 +00:00
|
|
|
|
2020-03-05 22:32:52 +00:00
|
|
|
echo "${OSX_SDK_SUM}" "tarballs/${OSX_SDK}.tar.xz" | sha256sum -c -
|
2022-08-11 21:40:24 +00:00
|
|
|
yes "" | SDK_VERSION=12.3 OSX_VERSION_MIN=11.0 OCDEBUG=1 ./build.sh
|
2021-10-19 00:00:22 +00:00
|
|
|
|