From 4e6d9bbb6ab1ed026008accd06078b44c1f322ff Mon Sep 17 00:00:00 2001 From: Kabir Oberai Date: Sat, 23 Jul 2022 16:58:24 -0400 Subject: [PATCH] Update Swift toolchain download link --- docs/Installation-Linux.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/Installation-Linux.md b/docs/Installation-Linux.md index 6863494..8c021d5 100644 --- a/docs/Installation-Linux.md +++ b/docs/Installation-Linux.md @@ -46,14 +46,8 @@ All the commands shown in the following instructions are meant to be run as a no With Swift support (larger toolchain size): - sudo apt install zstd - curl -LO https://github.com/CRKatri/llvm-project/releases/download/swift-5.3.2-RELEASE/swift-5.3.2-RELEASE-ubuntu20.04.tar.zst - TMP=$(mktemp -d) - tar -xvf swift-5.3.2-RELEASE-ubuntu20.04.tar.zst -C $TMP - mkdir -p $THEOS/toolchain/linux/iphone $THEOS/toolchain/swift - mv $TMP/swift-5.3.2-RELEASE-ubuntu20.04/* $THEOS/toolchain/linux/iphone/ - ln -s $THEOS/toolchain/linux/iphone $THEOS/toolchain/swift - rm -r swift-5.3.2-RELEASE-ubuntu20.04.tar.zst $TMP + curl -#L https://github.com/kabiroberai/swift-toolchain-linux/releases/download/v2.1.0/swift-5.6.1-ubuntu20.04.tar.xz \ + | tar -xvJ -C $THEOS/toolchain Note that compiling Swift code requires a fairly modern SDK. It is recommended that you use the latest SDK that you can get.