From 48167056d12887213601985c96fa5ba853f4f4b2 Mon Sep 17 00:00:00 2001 From: Hamilton Chapman Date: Thu, 9 Sep 2021 15:10:18 +0100 Subject: [PATCH 1/3] Speed up llvm clone by specifying depth and branch name Co-Authored-By: Daniel Henry-Mantilla --- build.sh | 2 +- config.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index bbd3e11..cdd7ede 100755 --- a/build.sh +++ b/build.sh @@ -22,7 +22,7 @@ mkdir -p "$WORKING_DIR" cd "$WORKING_DIR" if [ ! -d "$WORKING_DIR/llvm-project" ]; then - git clone https://github.com/apple/llvm-project.git + git clone --depth 1 --branch "$LLVM_BRANCH" https://github.com/apple/llvm-project.git fi cd "$WORKING_DIR/llvm-project" git reset --hard diff --git a/config.sh b/config.sh index 9a6d27e..fdb65f6 100644 --- a/config.sh +++ b/config.sh @@ -3,7 +3,7 @@ # returned by the command below: # $ xcrun -sdk iphoneos swiftc --version -LLVM_BRANCH="tags/swift-5.3.2-RELEASE" +LLVM_BRANCH="swift-5.3.2-RELEASE" # 2. Select the best branch, tag or commit hash from https://github.com/rust-lang/rust From 3a7651d7158cb55d70d76e9dad23473eafe3a586 Mon Sep 17 00:00:00 2001 From: Hamilton Chapman Date: Thu, 9 Sep 2021 15:10:46 +0100 Subject: [PATCH 2/3] Update to nightly-2021-09-08 Co-Authored-By: Daniel Henry-Mantilla --- config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.sh b/config.sh index fdb65f6..908f1b6 100644 --- a/config.sh +++ b/config.sh @@ -7,10 +7,10 @@ LLVM_BRANCH="swift-5.3.2-RELEASE" # 2. Select the best branch, tag or commit hash from https://github.com/rust-lang/rust -RUST_BRANCH="a8486b64b" # nightly-2021-02-25 +RUST_BRANCH="fdf65053e" # nightly-2021-09-08 # 3. Select a name for the toolchain you want to install as. The toolchain will be installed # under $HOME/.rustup/toolchains/rust-$RUST_TOOLCHAIN -RUST_TOOLCHAIN="ios-arm64-nightly-2021-02-25" +RUST_TOOLCHAIN="ios-arm64-nightly-2021-09-08" From 25329ec5036c9993d9585462e0aa4d899e33d399 Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Tue, 19 Oct 2021 20:10:07 +0200 Subject: [PATCH 3/3] Bump to 2021-10-19 --- config.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config.sh b/config.sh index 908f1b6..3da698c 100644 --- a/config.sh +++ b/config.sh @@ -7,10 +7,9 @@ LLVM_BRANCH="swift-5.3.2-RELEASE" # 2. Select the best branch, tag or commit hash from https://github.com/rust-lang/rust -RUST_BRANCH="fdf65053e" # nightly-2021-09-08 +RUST_BRANCH="bd41e09da334697c0f993b36685cb599061d9faa" # nightly-2021-10-19 # 3. Select a name for the toolchain you want to install as. The toolchain will be installed # under $HOME/.rustup/toolchains/rust-$RUST_TOOLCHAIN -RUST_TOOLCHAIN="ios-arm64-nightly-2021-09-08" - +RUST_TOOLCHAIN="ios-arm64-nightly-2021-10-19"