From 48167056d12887213601985c96fa5ba853f4f4b2 Mon Sep 17 00:00:00 2001 From: Hamilton Chapman Date: Thu, 9 Sep 2021 15:10:18 +0100 Subject: [PATCH 1/4] 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/4] 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 2eea88c891612bab2083932341b99aee5bf37d30 Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Tue, 19 Oct 2021 20:10:07 +0200 Subject: [PATCH 3/4] Bump to 2021-10-05 --- config.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config.sh b/config.sh index 908f1b6..c5c79d9 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="003d8d3f56848b6f3833340e859b089a09aea36a" # 2021-10-05 # 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-2021-10-05" From 4ae2da3193b71c4aaa2b1209e85e68647cc7cc7e Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Wed, 20 Oct 2021 01:25:40 +0200 Subject: [PATCH 4/4] Fix typo --- config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.sh b/config.sh index c5c79d9..a1640ef 100644 --- a/config.sh +++ b/config.sh @@ -12,4 +12,4 @@ RUST_BRANCH="003d8d3f56848b6f3833340e859b089a09aea36a" # 2021-10-05 # 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-2021-10-05" +RUST_TOOLCHAIN="ios-arm64-nightly-2021-10-05"