From 12c881f772c524a697c1aac66180494ef8e0c25f Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 19 Sep 2022 18:40:00 -0400 Subject: [PATCH] Use Swift 5.7.0. (#8501) Swift 5.4.2 was released back in June 2021. Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> --- infra/base-images/base-builder/install_swift.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infra/base-images/base-builder/install_swift.sh b/infra/base-images/base-builder/install_swift.sh index c539c4d9e..ff84695cb 100755 --- a/infra/base-images/base-builder/install_swift.sh +++ b/infra/base-images/base-builder/install_swift.sh @@ -37,10 +37,10 @@ apt-get update && apt install -y $SWIFT_PACKAGES && \ apt install -y $SWIFT_SYMBOLIZER_PACKAGES --no-install-recommends -wget https://swift.org/builds/swift-5.4.2-release/ubuntu2004/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-ubuntu20.04.tar.gz -tar xzf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz -cp -r swift-5.4.2-RELEASE-ubuntu20.04/usr/* /usr/ -rm -rf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz +wget https://download.swift.org/swift-5.7-release/ubuntu2004/swift-5.7-RELEASE/swift-5.7-RELEASE-ubuntu20.04.tar.gz +tar xzf swift-5.7-RELEASE-ubuntu20.04.tar.gz +cp -r swift-5.7-RELEASE-ubuntu20.04/usr/* /usr/ +rm -rf swift-5.7-RELEASE-ubuntu20.04.tar.gz # TODO: Move to a seperate work dir git clone https://github.com/llvm/llvm-project.git cd llvm-project