Skip to content

Commit

Permalink
Fixed macOS fetching toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Oct 22, 2022
1 parent 5854e5e commit 980f051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ fi

# Generate Xcode toolchain
if [[ $OSTYPE == 'darwin'* && ! -d "$XCTOOLCHAIN" ]]; then
./generate-xcode-toolchain.sh /tmp/ ./downloads/${SWIFT_VERSION}-osx.pkg ./build/swift-armv7.tar.gz
mkdir -p $XCTOOLCHAIN
mv /tmp/cross-toolchain/swift-armv7.xctoolchain/* $XCTOOLCHAIN/
./generate-xcode-toolchain-impl.sh /tmp/ ./downloads/${SWIFT_VERSION}-osx.pkg $INSTALL_TAR
cp -rf /tmp/cross-toolchain/swift-armv7.xctoolchain/* $XCTOOLCHAIN/
fi

# Cleanup previous build
Expand Down

0 comments on commit 980f051

Please sign in to comment.