From 17aff11e43e0d5d30e0a9cb2e3467cb4c9cd9a53 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 19 Jul 2025 16:43:16 -0700 Subject: [PATCH] Update bootstrap script for Swift 6.1 on Ubuntu 25.04 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Bump Swift version from 5.5.2 to 6.1 - Update to Ubuntu 24.04 binaries (compatible with 25.04) - Update package dependencies for newer Ubuntu: - libgcc-9-dev → libgcc-s1 - libpython2.7 → libpython3.12 - libstdc++-9-dev → libstdc++-14-dev - Fix Swift download URL to use download.swift.org 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- bin/bootstrap | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/bootstrap b/bin/bootstrap index dd92131..faa610c 100755 --- a/bin/bootstrap +++ b/bin/bootstrap @@ -3,8 +3,8 @@ # bail on errors and unset variables set -euo pipefail -SWIFT_VERSION=5.5.2 -SWIFT_DIR=swift-$SWIFT_VERSION-RELEASE-ubuntu20.04 +SWIFT_VERSION=6.1 +SWIFT_DIR=swift-$SWIFT_VERSION-RELEASE-ubuntu24.04 SWIFT_FILENAME=$SWIFT_DIR.tar.gz if [[ $(uname) = "Linux" ]]; then @@ -15,10 +15,10 @@ if [[ $(uname) = "Linux" ]]; then libc6-dev \ libcurl4 \ libedit2 \ - libgcc-9-dev \ - libpython2.7 \ + libgcc-s1 \ + libpython3.12 \ libsqlite3-0 \ - libstdc++-9-dev \ + libstdc++-14-dev \ libxml2 \ libz3-dev \ pkg-config \ @@ -33,7 +33,7 @@ if [[ $(uname) = "Linux" ]]; then if [[ -e $SWIFT_FILENAME ]]; then echo "*** $SWIFT_FILENAME exists, skipping download" else - wget https://swift.org/builds/swift-$SWIFT_VERSION-release/ubuntu2004/swift-$SWIFT_VERSION-RELEASE/$SWIFT_FILENAME + wget https://download.swift.org/swift-$SWIFT_VERSION-release/ubuntu2404/swift-$SWIFT_VERSION-RELEASE/$SWIFT_FILENAME fi if [[ -e $SWIFT_DIR ]]; then echo "*** $SWIFT_DIR exists, skipping extraction"