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..3da698c 100644 --- a/config.sh +++ b/config.sh @@ -3,14 +3,13 @@ # 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 -RUST_BRANCH="a8486b64b" # nightly-2021-02-25 +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-02-25" - +RUST_TOOLCHAIN="ios-arm64-nightly-2021-10-19"